Class Distribution
The probabilistic distribution used to model term occurrence in information-based models.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
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 abstract class Distribution
Constructors
| Improve this Doc View SourceDistribution()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected Distribution()
Methods
| Improve this Doc View SourceExplain(BasicStats, Single, Single)
Explains the score. Returns the name of the model only, since
both tfn
and lambda
are explained elsewhere.
Declaration
public virtual Explanation Explain(BasicStats stats, float tfn, float lambda)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
System.Single | tfn | |
System.Single | lambda |
Returns
Type | Description |
---|---|
Explanation |
Score(BasicStats, Single, Single)
Computes the score.
Declaration
public abstract 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 |
ToString()
Subclasses must override this method to return the name of the distribution.
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()