@Override public MetricScorer copy() { return new ReciprocalRankScorer(); }
public MetricScorer copy() { return new ReciprocalRankScorer(); } public String name()
public MetricScorerFactory() { map.put("MAP", new APScorer()); map.put("NDCG", new NDCGScorer()); map.put("DCG", new DCGScorer()); map.put("P", new PrecisionScorer()); map.put("RR", new ReciprocalRankScorer()); map.put("BEST", new BestAtKScorer()); map.put("ERR", new ERRScorer()); }
public MetricScorerFactory() { map.put("MAP", new APScorer()); map.put("NDCG", new NDCGScorer()); map.put("DCG", new DCGScorer()); map.put("P", new PrecisionScorer()); map.put("RR", new ReciprocalRankScorer()); map.put("BEST", new BestAtKScorer()); map.put("ERR", new ERRScorer()); } public MetricScorer createScorer(METRIC metric)