}
@Override
protected EvaluationMetric getEvaluationMetric(String name) throws Exception {
if (name.equals("NDCG")) {
return new NDCGEval(maxDocsPerQuery, ((RankingTrainingConfig) trainingConfig).validNDCGTruncation);
}
return super.getEvaluationMetric(name);
}