mark.nlp.weka
Class NBThere

java.lang.Object
  |
  +--weka.classifiers.Classifier
        |
        +--mark.nlp.weka.NaiveBayes
              |
              +--mark.nlp.weka.NBMultinomial
                    |
                    +--mark.nlp.weka.NBThere
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, weka.core.WeightedInstancesHandler

public class NBThere
extends NBMultinomial

My own variant on a NaiveBayes classifier.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class mark.nlp.weka.NaiveBayes
fConditionals, fNumAtts, fNumCats, fPriors, fSmooth, fUsePriors
 
Constructor Summary
NBThere()
           
 
Method Summary
protected  double filterScore(double attVal)
           
static void main(java.lang.String[] argv)
          Weka test code.
 
Methods inherited from class mark.nlp.weka.NBMultinomial
filterAttributeVal, finishConditionals, finishScores
 
Methods inherited from class mark.nlp.weka.NaiveBayes
buildClassifier, classifyInstance
 
Methods inherited from class weka.classifiers.Classifier
forName, makeCopies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NBThere

public NBThere()
Method Detail

filterScore

protected double filterScore(double attVal)
Overrides:
filterScore in class NBMultinomial

main

public static void main(java.lang.String[] argv)
Weka test code.