Example usage for Java org.apache.mahout.classifier.naivebayes BayesUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
OpenObjectIntHashMap | readIndexFromCache(Configuration conf) |
Map | readLabelIndex(Configuration conf, Path indexPath) |
NaiveBayesModel | readModelFromDir(Path base, Configuration conf) |
Map | readScoresFromCache(Configuration conf) |
int | writeLabelIndex(Configuration conf, Iterable Write the list of labels into a map file |
int | writeLabelIndex(Configuration conf, Path indexPath, Iterable |