Class Lambda
java.lang.Object
org.apache.lucene.search.similarities.Lambda
The lambda (λw) parameter in information-based models.
- See Also:
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Explanation
explain
(BasicStats stats) Explains the lambda parameter.abstract float
lambda
(BasicStats stats) Computes the lambda parameter.abstract String
toString()
Subclasses must override this method to return the code of the lambda formula.
-
Constructor Details
-
Lambda
public Lambda()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
lambda
Computes the lambda parameter. -
explain
Explains the lambda parameter. -
toString
Subclasses must override this method to return the code of the lambda formula. Since the original paper is not very clear on this matter, and also uses the DFR naming scheme incorrectly, the codes here were chosen arbitrarily.
-