Class BasicModelD
Implements the approximation of the binomial model with the divergence
for DFR. The formula used in Lucene differs slightly from the one in the
original paper: to avoid underflow for small values of N
and
F
, N
is increased by 1
and
F
is always increased by tfn+1
.
WARNING: for terms that do not meet the expected random distribution (e.g. stopwords), this model may give poor performance, such as abnormally high scores for low tf values.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class BasicModelD : BasicModel
Constructors
Name | Description |
---|---|
BasicModelD() | Sole constructor: parameter-free |
Methods
Name | Description |
---|---|
Score(BasicStats, Single) | |
ToString() |