Uses of Class
opennlp.tools.ml.naivebayes.Probability
Packages that use Probability
Package
Description
Package related to ML by means of the Naive Bayes algorithm.
-
Uses of Probability in opennlp.tools.ml.naivebayes
Subclasses of Probability in opennlp.tools.ml.naivebayesModifier and TypeClassDescriptionclassA class implementing the logarithmicProbabilityfor a label.Methods in opennlp.tools.ml.naivebayes with parameters of type ProbabilityModifier and TypeMethodDescriptionbooleanLogProbability.isLarger(Probability<T> probability) booleanProbability.isLarger(Probability<T> probability) Checks if a probability is greater than the old one.voidLogProbabilities.set(T t, Probability<T> probability) Assigns aprobabilityto a labelt, discarding any previously assigned probability.voidLogProbability.set(Probability<T> probability) Assigns aprobabilityto a label, discarding any previously assigned probability.voidProbabilities.set(T t, Probability<T> probability) Assigns a probability to a labelt, discarding any previously assigned probability.voidProbability.set(Probability<T> probability) Assigns a probability to a label, discarding any previously assigned probability.voidLogProbability.setIfLarger(Probability<T> probability) Assigns aprobabilityto a label, discarding any previously assigned probability, if the new probability is greater than the old one.voidProbability.setIfLarger(Probability<T> probability) Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.