Interface EvalMetric

    • Method Detail

      • getMetricName

        default String getMetricName()
        Returns a name for the metric to be identified in any string representations.
        Returns:
        the name of the metric
      • computeEvalMetric

        double computeEvalMetric​(SimpleSimilarityResult groundTruthRankingResult,
                                 SimpleSimilarityResult predictedRankingResult)
        Computes a ranking metric for the complete ranking.
        Parameters:
        groundTruthRankingResult - the ground-truth ranking
        predictedRankingResult - the predicted ranking (to analyze)
        Returns:
        a double score