Examples of NDCGEval


Examples of edu.uci.jforestsx.eval.ranking.NDCGEval

  }

  @Override
  protected EvaluationMetric getEvaluationMetric(String name) throws Exception {
    if (name.equals("NDCG")) {
      return new NDCGEval(maxDocsPerQuery, ((RankingTrainingConfig) trainingConfig).validNDCGTruncation);
    }
    return super.getEvaluationMetric(name);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.