|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--weka.classifiers.Classifier
|
+--mark.nlp.weka.NaiveBayes
|
+--mark.nlp.weka.NBMultinomial
|
+--mark.nlp.weka.NBThere
My own variant on a NaiveBayes classifier.
| 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 |
public NBThere()
| Method Detail |
protected double filterScore(double attVal)
filterScore in class NBMultinomialpublic static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||