public class UnsmoothedJS extends JensenShannonDistance
tokenizer| Constructor and Description |
|---|
UnsmoothedJS() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] argv) |
protected double |
smoothedProbability(Token tok,
double freq,
double totalWeight)
Unsmoothed probability of the token
|
String |
toString() |
backgroundProb, explainScore, prepare, score, trainasBagOfTokens, prepare, setStringWrapperPooladdExample, doMain, explainScore, getDistance, hasNextQuery, nextQuery, prepare, score, setDistanceInstancePoolprotected double smoothedProbability(Token tok, double freq, double totalWeight)
smoothedProbability in class JensenShannonDistancepublic static void main(String[] argv)
Copyright © 2016. All rights reserved.