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