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