2 writes to MicroAccuracy
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
121MicroAccuracy = FetchDouble(MulticlassClassificationEvaluator.AccuracyMicro); 138MicroAccuracy = accuracyMicro;
60 references to MicroAccuracy
Microsoft.ML.AutoML (5)
API\MulticlassClassificationExperiment.cs (2)
55/// See <see cref="MulticlassClassificationMetrics.MicroAccuracy"/>. 453MulticlassClassificationMetric.MicroAccuracy => metrics.MicroAccuracy,
AutoMLExperiment\IMetricManager.cs (1)
100MulticlassClassificationMetric.MicroAccuracy => metric.MicroAccuracy,
Experiment\MetricsAgents\MultiMetricsAgent.cs (1)
33return metrics.MicroAccuracy;
Experiment\Runners\CrossValSummaryRunner.cs (1)
121accuracyMicro: GetAverageOfNonNaNScores(newMetrics.Select(x => x.MicroAccuracy)),
Microsoft.ML.AutoML.Samples (1)
AutoFit\MulticlassClassificationExperiment.cs (1)
68Console.WriteLine($"MicroAccuracy: {metrics.MicroAccuracy}");
Microsoft.ML.AutoML.Tests (6)
AutoFitTests.cs (5)
288result.BestRun.Results.First().ValidationMetrics.MicroAccuracy.Should().BeGreaterThan(0.7); 320Assert.True(result.BestRun.ValidationMetrics.MicroAccuracy >= 0.7); 350result.BestRun.ValidationMetrics.MicroAccuracy.Should().BeGreaterThan(0.1); 373result.BestRun.Results.Select(x => x.ValidationMetrics.MicroAccuracy).Max().Should().BeGreaterThan(0.1); 402Assert.InRange(result.BestRun.ValidationMetrics.MicroAccuracy, 0.1, 0.9);
Utils\TaskAgnosticAutoFit.cs (1)
146result.PrimaryMetricResult = classificationMetrics.MicroAccuracy; // TODO: don't hardcode metric
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
227Assert.InRange(metrics.MicroAccuracy, 0, 1);
Microsoft.ML.PerformanceTests (2)
StochasticDualCoordinateAscentClassifierBench.cs (2)
48nameof(MulticlassClassificationMetrics.MicroAccuracy), 49_metrics.MicroAccuracy.ToString("0.##", CultureInfo.InvariantCulture));
Microsoft.ML.Samples (15)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
162Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
188Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
186Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
171Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
132Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
135Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
145Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
133Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
133Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
139Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
149Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
149Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
162Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
188Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
186Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
171Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," +
Microsoft.ML.TensorFlow.Tests (11)
TensorflowTests.cs (11)
162Assert.Equal(1, metrics.MicroAccuracy, 0.01); 677Assert.Equal(0.99, metrics.MicroAccuracy, .01); 730Assert.InRange(metrics.MicroAccuracy, expectedMicroAccuracy, 1); 852Assert.InRange(metrics.MicroAccuracy, expectedMicroAccuracy - 0.1, expectedMicroAccuracy + 0.1); 902Assert.Equal(0.99, metrics.MicroAccuracy, .01); 1173Assert.Equal(1, metrics.MicroAccuracy, 0.01); 1436Assert.InRange(metrics.MicroAccuracy, 0.8, 1); 1539Assert.InRange(metrics.MicroAccuracy, 0.8, 1); 1698Assert.InRange(metrics.MicroAccuracy, 0.8, 1); 1828Assert.InRange(metrics.MicroAccuracy, 0.8, 1); 1901Assert.InRange(metrics.MicroAccuracy, 0.3, 1);
Microsoft.ML.Tests (10)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
661Console.WriteLine(metrics.MicroAccuracy); 668var microAccuracies = cvResults.Select(r => r.Metrics.MicroAccuracy);
Scenarios\IrisPlantClassificationTests.cs (1)
91Assert.Equal(.98, metrics.MicroAccuracy, 0.01);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
93Assert.Equal(.98, metrics.MicroAccuracy, 0.01);
Scenarios\OvaTest.cs (4)
44Assert.True(metrics.MicroAccuracy > 0.94); 80Assert.True(metrics.MicroAccuracy > 0.66); 115Assert.True(metrics.MicroAccuracy > 0.99); 149Assert.True(metrics.MicroAccuracy > 0.83);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
96Assert.Equal(.98, metrics.MicroAccuracy, 0.01);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (1)
814Assert.True(metrics.MicroAccuracy > 0.6);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
184Assert.True(metrics.MicroAccuracy > .70);
Microsoft.ML.Transforms (4)
MetricStatistics.cs (2)
225/// Summary statistics for <see cref="MulticlassClassificationMetrics.MicroAccuracy"/>. 265MicroAccuracy.Add(metrics.MicroAccuracy);
PermutationFeatureImportanceExtensions.cs (2)
474accuracyMicro: a.MicroAccuracy - b.MicroAccuracy,