public static class ScoreType.Probability extends java.lang.Object implements ScoreType, java.io.Serializable
ScoreType.NullModel, ScoreType.Odds, ScoreType.Probability
NULL_MODEL, ODDS, PROBABILITY
Constructor and Description |
---|
Probability() |
Modifier and Type | Method and Description |
---|---|
double |
calculateScore(Distribution dist,
Symbol sym)
Calculates the score associated with a distribution and a symbol.
|
public double calculateScore(Distribution dist, Symbol sym) throws IllegalSymbolException
ScoreType
calculateScore
in interface ScoreType
IllegalSymbolException