1 write to _groupDcgCur
Microsoft.ML.Data (1)
Evaluators\RankingEvaluator.cs (1)
365
_groupDcgCur
= new Double[TruncationLevel];
4 references to _groupDcgCur
Microsoft.ML.Data (4)
Evaluators\RankingEvaluator.cs (4)
395
RankingUtils.QueryDcg(_labelGains, TruncationLevel, _discountMap, _queryLabels, _queryOutputs,
_groupDcgCur
);
399
Array.Copy(
_groupDcgCur
, groupDcg, TruncationLevel);
406
Double ndcg = _groupMaxDcgCur[t] > 0 ?
_groupDcgCur
[t] / _groupMaxDcgCur[t] : 0;
408
_sumDcgAtN[t] +=
_groupDcgCur
[t] * weight;