Show / Hide Table of Contents

    Class BasicModelP

    Implements the Poisson approximation for the binomial model for DFR.

    @lucene.experimental

    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.

    Inheritance
    System.Object
    BasicModel
    BasicModelP
    Inherited Members
    BasicModel.Explain(BasicStats, Single)
    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public class BasicModelP : BasicModel

    Constructors

    | Improve this Doc View Source

    BasicModelP()

    Sole constructor: parameter-free

    Declaration
    public BasicModelP()

    Fields

    | Improve this Doc View Source

    LOG2_E

    log2(Math.E), precomputed.

    Declaration
    protected static double LOG2_E
    Field Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    Score(BasicStats, Single)

    Declaration
    public override sealed float Score(BasicStats stats, float tfn)
    Parameters
    Type Name Description
    BasicStats stats
    System.Single tfn
    Returns
    Type Description
    System.Single
    Overrides
    BasicModel.Score(BasicStats, Single)
    | Improve this Doc View Source

    ToString()

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