2 writes to TopKAccuracyForAllK
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
128TopKAccuracyForAllK = RowCursorUtils.Fetch<VBuffer<double>>(host, overallResult, MulticlassClassificationEvaluator.AllTopKAccuracy).DenseValues().ToImmutableArray(); 143TopKAccuracyForAllK = topKAccuracies;
7 references to TopKAccuracyForAllK
Microsoft.ML.AutoML (1)
Experiment\Runners\CrossValSummaryRunner.cs (1)
126topKAccuracies: GetAverageOfNonNaNScoresInNestedEnumerable(newMetrics.Select(x => x.TopKAccuracyForAllK)),
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
80public double TopKAccuracy => TopKAccuracyForAllK?.LastOrDefault() ?? 0; 83/// If positive, this indicates the K in <see cref="TopKAccuracy"/> and <see cref="TopKAccuracyForAllK"/>.
Microsoft.ML.Tests (2)
EvaluateTests.cs (2)
49Assert.Equal(expectedTopKArray, metrics.TopKAccuracyForAllK); 66var output2 = metrics2.TopKAccuracyForAllK.ToArray();
Microsoft.ML.Transforms (2)
PermutationFeatureImportanceExtensions.cs (2)
479topKAccuracies: a?.TopKAccuracyForAllK?.Zip(b.TopKAccuracyForAllK, (a, b) => a - b)?.ToArray(),