Class Lambda
The lambda (λw) parameter in information-based models.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public abstract class Lambda
Constructors
| Improve this Doc View SourceLambda()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected Lambda()
Methods
| Improve this Doc View SourceCalculateLambda(BasicStats)
Computes the lambda parameter.
Declaration
public abstract float CalculateLambda(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
System.Single |
Explain(BasicStats)
Explains the lambda parameter.
Declaration
public abstract Explanation Explain(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
Explanation |
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 abstract override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()