Example usage for Java weka.classifiers.bayes NaiveBayes fields, constructors, methods, implement or subclass
The text is from its open source code.
void | buildClassifier(Instances instances) Generates the classifier. |
double | classifyInstance(Instance instance) Classifies the given test instance. |
double[] | distributionForInstance(Instance instance) Calculates the class membership probabilities for the given test instance. |
void | setOptions(String[] options) Parses a given list of options. |
void | setUseSupervisedDiscretization(boolean s) Set whether supervised discretization is to be used. |
String | toString() Returns a description of the classifier. |