1 write to _groupMaxDcgCur
Microsoft.ML.Data (1)
Evaluators\RankingEvaluator.cs (1)
366
_groupMaxDcgCur
= new Double[TruncationLevel];
4 references to _groupMaxDcgCur
Microsoft.ML.Data (4)
Evaluators\RankingEvaluator.cs (4)
387
RankingUtils.QueryMaxDcg(_labelGains, TruncationLevel, _discountMap, _queryLabels, _queryOutputs,
_groupMaxDcgCur
);
391
Array.Copy(
_groupMaxDcgCur
, maxDcg, TruncationLevel);
406
Double ndcg =
_groupMaxDcgCur
[t] > 0 ? _groupDcgCur[t] /
_groupMaxDcgCur
[t] : 0;