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