1 write to WeightedCounters
Microsoft.ML.Data (1)
Evaluators\RankingEvaluator.cs (1)
444
WeightedCounters
= Weighted ? new Counters(labelGains, truncationLevel, false) : null;
6 references to WeightedCounters
Microsoft.ML.Data (6)
Evaluators\RankingEvaluator.cs (6)
205
ndcg.Add(agg.
WeightedCounters
.Ndcg);
206
dcg.Add(agg.
WeightedCounters
.Dcg);
499
if (
WeightedCounters
!= null)
500
WeightedCounters
.Update((short)label, score);
516
if (
WeightedCounters
!= null)
517
WeightedCounters
.UpdateGroup(_currentQueryWeight);