Class BasicModelP
Implements the Poisson approximation for the binomial model for DFR.
Note
This API is experimental and might change in incompatible ways in the next release.
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.
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 BasicModelP : BasicModel
Constructors
| Improve this Doc View SourceBasicModelP()
Sole constructor: parameter-free
Declaration
public BasicModelP()
Fields
| Improve this Doc View SourceLOG2_E
log2(Math.E)
, precomputed.
Declaration
protected static double LOG2_E
Field Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceScore(BasicStats, Single)
Declaration
public sealed override float Score(BasicStats stats, float tfn)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
System.Single | tfn |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |