Class DistributionSPL
The smoothed power-law (SPL) distribution for the information-based framework that is described in the original paper.
Unlike for DFR, the natural logarithm is used, as it is faster to compute and the original paper does not express any preference to a specific base.
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 DistributionSPL : Distribution
Constructors
| Improve this Doc View SourceDistributionSPL()
Sole constructor: parameter-free
Declaration
public DistributionSPL()
Methods
| Improve this Doc View SourceScore(BasicStats, Single, Single)
Declaration
public sealed override float Score(BasicStats stats, float tfn, float lambda)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
System.Single | tfn | |
System.Single | lambda |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |