Class Lambda
The lambda (λw) parameter in information-based models.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public abstract class Lambda
Constructors
Lambda()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected Lambda()
See Also
Methods
CalculateLambda(BasicStats)
Computes the lambda parameter.
Declaration
public abstract float CalculateLambda(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
float |
See Also
Explain(BasicStats)
Explains the lambda parameter.
Declaration
public abstract Explanation Explain(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
Explanation |
See Also
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.
Declaration
public override abstract string ToString()
Returns
Type | Description |
---|---|
string |