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)
387RankingUtils.QueryMaxDcg(_labelGains, TruncationLevel, _discountMap, _queryLabels, _queryOutputs, _groupMaxDcgCur); 391Array.Copy(_groupMaxDcgCur, maxDcg, TruncationLevel); 406Double ndcg = _groupMaxDcgCur[t] > 0 ? _groupDcgCur[t] / _groupMaxDcgCur[t] : 0;