Show / Hide Table of Contents

    Class DistributionSPL

    The smoothed power-law (SPL) distribution for the information-based framework that is described in the original paper.

    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.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    Distribution
    DistributionSPL
    Inherited Members
    Distribution.Explain(BasicStats, Single, Single)
    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public class DistributionSPL : Distribution

    Constructors

    | Improve this Doc View Source

    DistributionSPL()

    Sole constructor: parameter-free

    Declaration
    public DistributionSPL()

    Methods

    | Improve this Doc View Source

    Score(BasicStats, Single, Single)

    Declaration
    public override sealed 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
    Overrides
    Distribution.Score(BasicStats, Single, Single)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Distribution.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)