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