public class IndependenceStandardized extends Independence
Described as: "good at tasks that require high recall and high precision, especially against short queries composed of a few words as in the case of Internet searches"
| Constructor and Description |
|---|
IndependenceStandardized()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
score(double freq,
double expected)
Computes distance from independence
|
String |
toString() |
public double score(double freq,
double expected)
Independencescore in class Independencefreq - actual term frequencyexpected - expected term frequencypublic String toString()
toString in class IndependenceCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.