Package | Description |
---|---|
opennlp.tools.ml.naivebayes |
Modifier and Type | Class and Description |
---|---|
class |
LogProbability<T>
Class implementing the probability for a label.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LogProbability.isLarger(Probability probability)
Checks if a probability is greater than the old one.
|
boolean |
Probability.isLarger(Probability probability)
Checks if a probability is greater than the old one.
|
void |
LogProbability.set(Probability probability)
Assigns a probability to a label, discarding any previously assigned probability.
|
void |
Probability.set(Probability probability)
Assigns a probability to a label, discarding any previously assigned probability.
|
void |
LogProbabilities.set(T t,
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, discarding any previously assigned probability.
|
void |
LogProbability.setIfLarger(Probability 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 probability)
Assigns a probability to a label, discarding any previously assigned probability,
if the new probability is greater than the old one.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.