1 write to TruncationLevel
Microsoft.ML.Data (1)
Evaluators\RankingEvaluator.cs (1)
359TruncationLevel = truncationLevel;
20 references to TruncationLevel
Microsoft.ML.Data (20)
Evaluators\RankingEvaluator.cs (20)
306var ndcg = new Double[TruncationLevel]; 307for (int i = 0; i < TruncationLevel; i++) 317var dcg = new Double[TruncationLevel]; 318for (int i = 0; i < TruncationLevel; i++) 362_sumDcgAtN = new Double[TruncationLevel]; 363_sumNdcgAtN = new Double[TruncationLevel]; 365_groupDcgCur = new Double[TruncationLevel]; 366_groupMaxDcgCur = new Double[TruncationLevel]; 387RankingUtils.QueryMaxDcg(_labelGains, TruncationLevel, _discountMap, _queryLabels, _queryOutputs, _groupMaxDcgCur); 390var maxDcg = new Double[TruncationLevel]; 391Array.Copy(_groupMaxDcgCur, maxDcg, TruncationLevel); 395RankingUtils.QueryDcg(_labelGains, TruncationLevel, _discountMap, _queryLabels, _queryOutputs, _groupDcgCur); 398var groupDcg = new Double[TruncationLevel]; 399Array.Copy(_groupDcgCur, groupDcg, TruncationLevel); 403var groupNdcg = new Double[TruncationLevel]; 404for (int t = 0; t < TruncationLevel; t++) 535var editor = VBufferEditor.Create(ref dst, UnweightedCounters.TruncationLevel); 536for (int i = 0; i < UnweightedCounters.TruncationLevel; i++) 544var editor = VBufferEditor.Create(ref slotNames, UnweightedCounters.TruncationLevel); 545for (int i = 0; i < UnweightedCounters.TruncationLevel; i++)