|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.Classifier
weka.classifiers.DistributionClassifier
weka.classifiers.bayes.NaiveBayesSimple
weka.classifiers.bayes.NaiveBayesSimpleSoft
Version of NaiveBayesSimple that supports training on SoftClassifiedInstances and WeightedInstances for use with SemiSupEM
Field Summary |
Fields inherited from class weka.classifiers.bayes.NaiveBayesSimple |
m_Counts, m_Devs, m_Instances, m_m, m_Means, m_minStdDev, m_Priors, NORM_CONST |
Constructor Summary | |
NaiveBayesSimpleSoft()
|
Method Summary | |
void |
buildClassifier(SoftClassifiedInstances instances)
Generates the classifier. |
Methods inherited from class weka.classifiers.bayes.NaiveBayesSimple |
buildClassifier, distributionForInstance, getM, getMinStdDev, getOptions, globalInfo, listOptions, main, minStdDevTipText, mTipText, normalDens, normalizeLogs, resetOptions, setM, setMinStdDev, setOptions, toString, unNormalizedDistributionForInstance |
Methods inherited from class weka.classifiers.DistributionClassifier |
calculateEntropy, calculateLabeledInstanceMargin, calculateMargin, classifyInstance |
Methods inherited from class weka.classifiers.Classifier |
forName, makeCopies |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface weka.classifiers.SoftClassifier |
unNormalizedDistributionForInstance |
Methods inherited from interface weka.core.OptionHandler |
getOptions, listOptions, setOptions |
Constructor Detail |
public NaiveBayesSimpleSoft()
Method Detail |
public void buildClassifier(SoftClassifiedInstances instances) throws java.lang.Exception
buildClassifier
in interface SoftClassifier
instances
- set of instances serving as training data
java.lang.Exception
- if the classifier has not been generated successfully
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |