1 write to OutputTopKAcc
Microsoft.ML.Data (1)
Evaluators\MulticlassClassificationEvaluator.cs (1)
330OutputTopKAcc = outputTopKAcc;
8 references to OutputTopKAcc
Microsoft.ML.Data (8)
Evaluators\MulticlassClassificationEvaluator.cs (8)
165Host.Check((agg.UnweightedCounters.OutputTopKAcc > 0) == (aggregator.UnweightedCounters.OutputTopKAcc > 0), 175if (agg.UnweightedCounters.OutputTopKAcc > 0) 195if (agg.WeightedCounters.OutputTopKAcc > 0) 220if (aggregator.UnweightedCounters.OutputTopKAcc > 0) 311public double TopKAccuracy => !(OutputTopKAcc is null) ? AllTopKAccuracy[OutputTopKAcc.Value - 1] : 0d; 312public double[] AllTopKAccuracy => CumulativeSum(_seenRanks.Take(OutputTopKAcc ?? 0).Select(l => l / _numInstances)).ToArray();