1 instantiation of DcgCalculator
Microsoft.ML.FastTree (1)
Training\Test.cs (1)
350
DcgCalculator = new
DcgCalculator
(Dataset.MaxDocsPerQuery, _sortingAlgorithm);
5 references to DcgCalculator
Microsoft.ML.FastTree (5)
FastTreeRanking.cs (4)
181
DcgCalculator
.LabelGainMap = gains;
583
int relevancyLevel =
DcgCalculator
.LabelGainMap.Length;
598
_inverseMaxDcgt =
DcgCalculator
.MaxDcg(_labels, Dataset.Boundaries, _maxDcgTruncationLevel, _labelCounts);
834
inverseMaxDcg = 1.0 /
DcgCalculator
.MaxDcgQuery(labels, begin, numDocuments, numDocuments, _labelCounts[query]);
Training\Test.cs (1)
340
protected readonly
DcgCalculator
DcgCalculator;