Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Distribution

    The probabilistic distribution used to model term occurrence in information-based models.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    Distribution
    DistributionLL
    DistributionSPL
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Distribution

    Constructors

    Distribution()

    Sole constructor. (For invocation by subclass constructors, typically implicit.)

    Declaration
    protected Distribution()
    See Also
    IBSimilarity

    Methods

    Explain(BasicStats, float, float)

    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
    float tfn
    float lambda
    Returns
    Type Description
    Explanation
    See Also
    IBSimilarity

    Score(BasicStats, float, float)

    Computes the score.

    Declaration
    public abstract float Score(BasicStats stats, float tfn, float lambda)
    Parameters
    Type Name Description
    BasicStats stats
    float tfn
    float lambda
    Returns
    Type Description
    float
    See Also
    IBSimilarity

    ToString()

    Subclasses must override this method to return the name of the distribution.

    Declaration
    public override abstract string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    See Also
    IBSimilarity

    See Also

    IBSimilarity
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.