Class MDL2

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Model

    public class MDL2
    extends WeightingModel
    This class implements the MDL2 field-based weighting model.

    Properties

    :
    • c.0, c.1, etc. Normalisation parameter for each field.
    • p.0, p.1, etc. Prior weight adjustments for each field. In the original paper, all of these were left at the default value of 1.0d.

    If you use this model, please cite V. Plachouras and I. Ounis, Multinomial Randomness Models for Retrieval with Document Fields, In Proc. ECIR 2007.

    Since:
    3.0
    Author:
    Vassilis Plachouras and Craig Macdonald
    See Also:
    Serialized Form
    • Field Detail

      • fieldCount

        protected int fieldCount
      • fieldWeights

        protected double[] fieldWeights
      • p

        protected double[] p
      • fieldTermFrequencies

        protected int[] fieldTermFrequencies
    • Constructor Detail

      • MDL2

        public MDL2​(java.lang.String[] parameters)
             throws java.lang.Exception
        Constructs an instance of MDL2.
        Parameters:
        parameters -
        Throws:
        java.lang.Exception
      • MDL2

        public MDL2()