Class Lambda
- java.lang.Object
-
- org.apache.lucene.search.similarities.Lambda
-
public abstract class Lambda extends Object
The lambda (λw) parameter in information-based models.- See Also:
IBSimilarity
-
-
Constructor Summary
Constructors Constructor Description Lambda()
Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-
-
-
Method Detail
-
lambda
public abstract float lambda(BasicStats stats)
Computes the lambda parameter.
-
explain
public abstract Explanation explain(BasicStats stats)
Explains the lambda parameter.
-
toString
public abstract String 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.
-
-