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