15 references to TopKAccuracy
Microsoft.ML.AutoML (4)
API\MulticlassClassificationExperiment.cs (2)
75/// See <see cref="MulticlassClassificationMetrics.TopKAccuracy"/>. 456MulticlassClassificationMetric.TopKAccuracy => metrics.TopKAccuracy,
AutoMLExperiment\IMetricManager.cs (1)
103MulticlassClassificationMetric.TopKAccuracy => metric.TopKAccuracy,
Experiment\MetricsAgents\MultiMetricsAgent.cs (1)
39return metrics.TopKAccuracy;
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (1)
83/// If positive, this indicates the K in <see cref="TopKAccuracy"/> and <see cref="TopKAccuracyForAllK"/>.
TrainCatalog.cs (1)
518/// <param name="topKPredictionCount">If given a positive value, the <see cref="MulticlassClassificationMetrics.TopKAccuracy"/> will be filled with
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
229Assert.InRange(metrics.TopKAccuracy, 0, 1);
Microsoft.ML.Tests (6)
Scenarios\IrisPlantClassificationTests.cs (1)
93Assert.Equal(1, metrics.TopKAccuracy);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
96Assert.Equal(1, metrics.TopKAccuracy);
TrainerEstimators\SdcaTests.cs (4)
191Assert.Equal(0.9100, metrics1.TopKAccuracy, 0.0001); 193Assert.Equal(0.8800, metrics2.TopKAccuracy, 0.0001); 288Assert.InRange(metrics.TopKAccuracy, 0.8, 1); 322Assert.InRange(metrics.TopKAccuracy, 0.8, 1);
Microsoft.ML.Transforms (2)
MetricStatistics.cs (2)
240/// Summary statistics for <see cref="MulticlassClassificationMetrics.TopKAccuracy"/>. 268TopKAccuracy.Add(metrics.TopKAccuracy);