Class MAEMetric

    • Constructor Detail

      • MAEMetric

        public MAEMetric()
    • Method Detail

      • computeEvalMetric

        public double computeEvalMetric​(SimpleSimilarityResult groundTruthRankingResult,
                                        SimpleSimilarityResult predictedRankingResult)
        Computes MSE and MAE for two retrieval results. Normally, this method is used to compare the ground-truth values with the values to test.
        Specified by:
        computeEvalMetric in interface EvalMetric
        Parameters:
        groundTruthRankingResult - ground-truth results
        predictedRankingResult - results to test
        Returns:
        MAE
      • getMetricName

        public String getMetricName()
        Description copied from interface: EvalMetric
        Returns a name for the metric to be identified in any string representations.
        Specified by:
        getMetricName in interface EvalMetric
        Returns:
        the name of the metric