9 references to Ndcg
Microsoft.ML.AutoML (5)
API\RankingExperiment.cs (3)
43
OptimizingMetric = RankingMetric.
Ndcg
;
86
public static RunDetail<RankingMetrics> Best(this IEnumerable<RunDetail<RankingMetrics>> results, RankingMetric metric = RankingMetric.
Ndcg
, uint optimizationMetricTruncationLevel = 10)
100
public static CrossValidationRunDetail<RankingMetrics> Best(this IEnumerable<CrossValidationRunDetail<RankingMetrics>> results, RankingMetric metric = RankingMetric.
Ndcg
, uint optimizationMetricTruncationLevel = 10)
Experiment\MetricsAgents\RankingMetricsAgent.cs (2)
41
case RankingMetric.
Ndcg
:
60
case RankingMetric.
Ndcg
:
Microsoft.ML.AutoML.Tests (4)
MetricsAgentsTests.cs (4)
131
Assert.Equal(0.4, GetScore(metrics, RankingMetric.
Ndcg
, 3));
137
Assert.Equal(0.3, GetScore(metrics, RankingMetric.
Ndcg
, 3));
147
Assert.False(IsPerfectModel(metrics, RankingMetric.
Ndcg
, 3));
157
Assert.True(IsPerfectModel(metrics, RankingMetric.
Ndcg
, 3));