Class LambdaDF
Computes lambda as docFreq+1 / numberOfDocuments+1
.
Note
This API is experimental and might change in incompatible ways in the next release.
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 class LambdaDF : Lambda
Constructors
| Improve this Doc View SourceLambdaDF()
Sole constructor: parameter-free
Declaration
public LambdaDF()
Methods
| Improve this Doc View SourceCalculateLambda(BasicStats)
Declaration
public sealed override float CalculateLambda(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceExplain(BasicStats)
Declaration
public sealed override Explanation Explain(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
Explanation |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |