Package opennlp.tools.ml.naivebayes
package opennlp.tools.ml.naivebayes
Package related to ML by means of the Naive Bayes algorithm.
-
ClassDescriptionA
NaiveBayesModelReader
that reads models from a binary format.ANaiveBayesModelWriter
that writes models in a binary format.Class implementing the probability distribution over labels returned by a classifier as a log of probabilities.A class implementing the logarithmicProbability
for a label.Specializedparameters
for the evaluation of a naive bayes classifierAMaxentModel
implementation of the multinomial Naive Bayes classifier model.The base class for readers ofmodels
.The base class forNaiveBayesModel
writers.Trainsmodels
using the combination of EM algorithm and Naive Bayes classifier which is described in:ANaiveBayesModelReader
that reads models from a plain text format.ANaiveBayesModelWriter
that writes models in a plain text format.Class implementing the probability distribution over labels returned by a classifier.Probability<T>Class implementing the probability for a label.