7 references to Dcg
Microsoft.ML.Data (7)
EntryPoints\InputBuilder.cs (1)
861
public const string Dcg = RankingEvaluator.
Dcg
;
Evaluators\Metrics\RankingMetrics.cs (1)
63
DiscountedCumulativeGains = Fetch(RankingEvaluator.
Dcg
).DenseValues().ToImmutableArray();
Evaluators\RankingEvaluator.cs (5)
150
yield return new MetricColumn("DCG@<number>",
Dcg
, isVector: true,
151
namePattern: new Regex(string.Format(@"^{0}@(?<at>\d+)",
Dcg
), RegexOptions.IgnoreCase),
152
groupName: "at", nameFormat: string.Format("{0} @{{0}}",
Dcg
));
222
overallDvBldr.AddColumn(
Dcg
, aggregator.GetSlotNames, NumberDataViewType.Double, dcg.ToArray());
234
groupDvBldr.AddColumn(
Dcg
, aggregator.GetGroupSummarySlotNames("DCG"), NumberDataViewType.Double, groupDcg.ToArray());