Show / Hide Table of Contents

    Class NormalizationH1

    Normalization model that assumes a uniform distribution of the term frequency.

    While this model is parameterless in the original article, information-based models (see IBSimilarity) introduced a multiplying factor. The default value for the c parameter is 1.

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

    Constructors

    | Improve this Doc View Source

    NormalizationH1()

    Calls NormalizationH1(1)

    Declaration
    public NormalizationH1()
    | Improve this Doc View Source

    NormalizationH1(Single)

    Creates NormalizationH1 with the supplied parameter c.

    Declaration
    public NormalizationH1(float c)
    Parameters
    Type Name Description
    System.Single c

    Hyper-parameter that controls the term frequency normalization with respect to the document length.

    Properties

    | Improve this Doc View Source

    C

    Returns the c parameter.

    Declaration
    public virtual float C { get; }
    Property Value
    Type Description
    System.Single
    See Also
    NormalizationH1(Single)

    Methods

    | Improve this Doc View Source

    Tfn(BasicStats, Single, Single)

    Declaration
    public override sealed float Tfn(BasicStats stats, float tf, float len)
    Parameters
    Type Name Description
    BasicStats stats
    System.Single tf
    System.Single len
    Returns
    Type Description
    System.Single
    Overrides
    Normalization.Tfn(BasicStats, Single, Single)
    | Improve this Doc View Source

    ToString()

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