edu.cmu.minorthird.ui
Class Recommended.NaiveBayes

java.lang.Object
  extended by edu.cmu.minorthird.classify.OnlineClassifierLearner
      extended by edu.cmu.minorthird.classify.OnlineBinaryClassifierLearner
          extended by edu.cmu.minorthird.classify.algorithms.linear.NaiveBayes
              extended by edu.cmu.minorthird.ui.Recommended.NaiveBayes
All Implemented Interfaces:
BinaryClassifierLearner, ClassifierLearner, java.io.Serializable, java.lang.Cloneable
Enclosing class:
Recommended

public static class Recommended.NaiveBayes
extends NaiveBayes

Multinomial Naive Bayes, as in McCallum's Rainbow package.

This is one of the fastest learners, but because of the strong independence assumptions, it often has a higher-than-necessary error rate.

References: Andrew McCallum and Kamal Nigam, A comparison of event models for naive bayes text classification, AAAI-98 Workshop on Learning for Text Categorization; Kamal Nigam et al, Text classification from labeled and unlabeled documents using EM, Machine Learning, 39(2/3), 2000.

See Also:
Serialized Form

Constructor Summary
Recommended.NaiveBayes()
           
 
Method Summary
 
Methods inherited from class edu.cmu.minorthird.classify.algorithms.linear.NaiveBayes
addExample, getClassifier, reset, toString
 
Methods inherited from class edu.cmu.minorthird.classify.OnlineBinaryClassifierLearner
getBinaryClassifier, getSchema, setSchema
 
Methods inherited from class edu.cmu.minorthird.classify.OnlineClassifierLearner
completeTraining, copy, hasNextQuery, nextQuery, setInstancePool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.cmu.minorthird.classify.ClassifierLearner
completeTraining, copy, hasNextQuery, nextQuery, setInstancePool
 

Constructor Detail

Recommended.NaiveBayes

public Recommended.NaiveBayes()