Class DistributionLL
Log-logistic distribution.
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
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class DistributionLL : Distribution
Constructors
DistributionLL()
Sole constructor: parameter-free
Declaration
public DistributionLL()
Methods
Score(BasicStats, float, float)
Computes the score.
Declaration
public override sealed float Score(BasicStats stats, float tfn, float lambda)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
float | tfn | |
float | lambda |
Returns
Type | Description |
---|---|
float |
Overrides
ToString()
Subclasses must override this method to return the name of the distribution.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |