Class QualityMuellerMetric

  • All Implemented Interfaces:
    EvalMetric

    public class QualityMuellerMetric
    extends KEvalMetric
    Implementation of the quality metric according to Bergmann and Müller.
    Author:
    Maximilian Hoffmann
    • Constructor Detail

      • QualityMuellerMetric

        public QualityMuellerMetric()
      • QualityMuellerMetric

        public QualityMuellerMetric​(int k)
    • Method Detail

      • computeEvalKMetric

        public double computeEvalKMetric​(SimpleSimilarityResult groundTruthResult,
                                         SimpleSimilarityResult predictedResult,
                                         Integer k)
        Description copied from class: KEvalMetric
        Computes a ranking metric for the top-k cases of the ranking results.
        Specified by:
        computeEvalKMetric in class KEvalMetric
        Parameters:
        groundTruthResult - the ground-truth ranking
        predictedResult - the predicted ranking results to analyze
        k - the number of top cases to look at
        Returns:
        a score for the ranking according to this metric