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 TypeClassDescriptionclass
A class implementing the logarithmicProbability
for a label.Methods in opennlp.tools.ml.naivebayes with parameters of type ProbabilityModifier and TypeMethodDescriptionboolean
LogProbability.isLarger
(Probability<T> probability) boolean
Probability.isLarger
(Probability<T> probability) Checks if a probability is greater than the old one.void
LogProbabilities.set
(T t, Probability<T> probability) Assigns aprobability
to a labelt
, discarding any previously assigned probability.void
LogProbability.set
(Probability<T> probability) Assigns aprobability
to a label, discarding any previously assigned probability.void
Probabilities.set
(T t, Probability<T> probability) Assigns a probability to a labelt
, discarding any previously assigned probability.void
Probability.set
(Probability<T> probability) Assigns a probability to a label, discarding any previously assigned probability.void
LogProbability.setIfLarger
(Probability<T> probability) Assigns aprobability
to a label, discarding any previously assigned probability, if the new probability is greater than the old one.void
Probability.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.