|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object classification.NaiveBayes
public class NaiveBayes
Constructor Summary | |
---|---|
NaiveBayes(double smoothTrue,
double smoothFalse,
Alphabet xAlphabet,
Alphabet yAlphabet)
|
Method Summary | |
---|---|
LinearClassifier |
batchTrain(ArrayList<ClassificationInstance> trainingData)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaiveBayes(double smoothTrue, double smoothFalse, Alphabet xAlphabet, Alphabet yAlphabet)
Method Detail |
---|
public LinearClassifier batchTrain(ArrayList<ClassificationInstance> trainingData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |