# Uses of Class
opennlp.tools.ml.naivebayes.Probability

Packages that use Probability
Package
Description
opennlp.tools.ml.naivebayes
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.naivebayes
  Modifier and Type
  Class
  Description
  `class`
  `LogProbability<T>`
  A class implementing the logarithmic `Probability` for a label.
  Methods in opennlp.tools.ml.naivebayes with parameters of type Probability
  Modifier and Type
  Method
  Description
  `boolean`
  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 a `probability` to a label `t`, discarding any previously assigned probability.
  `void`
  LogProbability.`set(Probability<T> probability)`
  Assigns a `probability` to a label, discarding any previously assigned probability.
  `void`
  Probabilities.`set(T t, Probability<T> probability)`
  Assigns a probability to a label `t`, 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 a `probability` 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.