1 write to WeightedCounters
Microsoft.ML.Data (1)
Evaluators\MulticlassClassificationEvaluator.cs (1)
408
WeightedCounters
= Weighted ? new Counters(scoreVectorSize, outputTopKAcc) : null;
11 references to WeightedCounters
Microsoft.ML.Data (11)
Evaluators\MulticlassClassificationEvaluator.cs (11)
191
microAcc.Add(agg.
WeightedCounters
.MicroAvgAccuracy);
192
macroAcc.Add(agg.
WeightedCounters
.MacroAvgAccuracy);
193
logLoss.Add(agg.
WeightedCounters
.LogLoss);
194
logLossRed.Add(agg.
WeightedCounters
.Reduction);
195
if (agg.
WeightedCounters
.OutputTopKAcc > 0)
197
topKAcc.Add(agg.
WeightedCounters
.TopKAccuracy);
198
allTopK.Add(agg.
WeightedCounters
.AllTopKAccuracy);
200
perClassLogLoss.Add(agg.
WeightedCounters
.PerClassLogLoss);
201
weights.AddRange(agg.
WeightedCounters
.ConfusionTable);
511
if (
WeightedCounters
!= null)
512
WeightedCounters
.Update(rankOfCorrectLabel, assigned, logloss, intLabel, weight);