7 references to Ndcg
Microsoft.ML.Data (7)
EntryPoints\InputBuilder.cs (1)
860
public const string Ndcg = RankingEvaluator.
Ndcg
;
Evaluators\Metrics\RankingMetrics.cs (1)
64
NormalizedDiscountedCumulativeGains = Fetch(RankingEvaluator.
Ndcg
).DenseValues().ToImmutableArray();
Evaluators\RankingEvaluator.cs (5)
147
yield return new MetricColumn("NDCG@<number>",
Ndcg
, isVector: true,
148
namePattern: new Regex(string.Format(@"^{0}@(?<at>\d+)",
Ndcg
), RegexOptions.IgnoreCase),
149
groupName: "at", nameFormat: string.Format("{0} @{{0}}",
Ndcg
));
221
overallDvBldr.AddColumn(
Ndcg
, aggregator.GetSlotNames, NumberDataViewType.Double, ndcg.ToArray());
233
groupDvBldr.AddColumn(
Ndcg
, aggregator.GetGroupSummarySlotNames("NDCG"), NumberDataViewType.Double, groupNdcg.ToArray());