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