Class IndependenceStandardized
- java.lang.Object
- 
- org.apache.lucene.search.similarities.Independence
- 
- org.apache.lucene.search.similarities.IndependenceStandardized
 
 
- 
 public class IndependenceStandardized extends Independence Standardized measure of distance from independenceDescribed 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" - WARNING: This API is experimental and might change in incompatible ways in the next release.
 
- 
- 
Constructor SummaryConstructors Constructor Description IndependenceStandardized()Sole constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublescore(double freq, double expected)Computes distance from independenceStringtoString()
 
- 
- 
- 
Method Detail- 
scorepublic double score(double freq, double expected)Description copied from class:IndependenceComputes distance from independence- Specified by:
- scorein class- Independence
- Parameters:
- freq- actual term frequency
- expected- expected term frequency
 
 - 
toStringpublic String toString() - Specified by:
- toStringin class- Independence
 
 
- 
 
-