2 instantiations of RankingEvaluator
Microsoft.ML.Data (2)
Evaluators\RankingEvaluator.cs (1)
888_evaluator = new RankingEvaluator(Host, evalOpts);
TrainCatalog.cs (1)
695var eval = new RankingEvaluator(Environment, options ?? new RankingEvaluatorOptions() { });
13 references to RankingEvaluator
Microsoft.ML.Data (13)
EntryPoints\InputBuilder.cs (2)
860public const string Ndcg = RankingEvaluator.Ndcg; 861public const string Dcg = RankingEvaluator.Dcg;
Evaluators\Metrics\RankingMetrics.cs (2)
63DiscountedCumulativeGains = Fetch(RankingEvaluator.Dcg).DenseValues().ToImmutableArray(); 64NormalizedDiscountedCumulativeGains = Fetch(RankingEvaluator.Ndcg).DenseValues().ToImmutableArray();
Evaluators\RankingEvaluator.cs (8)
18[assembly: LoadableClass(typeof(RankingEvaluator), typeof(RankingEvaluator), typeof(RankingEvaluatorOptions), typeof(SignatureEvaluator), 19"Ranking Evaluator", RankingEvaluator.LoadName, "Ranking", "rank")] 22"Ranking Evaluator", RankingEvaluator.LoadName, "Ranking", "rank")] 51internal sealed class RankingEvaluator : EvaluatorBase<RankingEvaluator.Aggregator> 870private readonly RankingEvaluator _evaluator; 923return metrics[0].TryGetValue(RankingEvaluator.GroupSummary, out gs); 930if (!metrics[i].TryGetValue(RankingEvaluator.GroupSummary, out idv))
TrainCatalog.cs (1)
695var eval = new RankingEvaluator(Environment, options ?? new RankingEvaluatorOptions() { });