2 writes to MacroAccuracy
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
122
MacroAccuracy
= FetchDouble(MulticlassClassificationEvaluator.AccuracyMacro);
139
MacroAccuracy
= accuracyMacro;
48 references to MacroAccuracy
Microsoft.ML.AutoML (5)
API\MulticlassClassificationExperiment.cs (2)
60
/// See <see cref="MulticlassClassificationMetrics.
MacroAccuracy
"/>.
452
MulticlassClassificationMetric.MacroAccuracy => metrics.
MacroAccuracy
,
AutoMLExperiment\IMetricManager.cs (1)
99
MulticlassClassificationMetric.MacroAccuracy => metric.
MacroAccuracy
,
Experiment\MetricsAgents\MultiMetricsAgent.cs (1)
31
return metrics.
MacroAccuracy
;
Experiment\Runners\CrossValSummaryRunner.cs (1)
122
accuracyMacro: GetAverageOfNonNaNScores(newMetrics.Select(x => x.
MacroAccuracy
)),
Microsoft.ML.AutoML.Samples (1)
AutoFit\MulticlassClassificationExperiment.cs (1)
67
Console.WriteLine($"MacroAccuracy: {metrics.
MacroAccuracy
}");
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
226
Assert.InRange(metrics.
MacroAccuracy
, 0, 1);
Microsoft.ML.PerformanceTests (2)
StochasticDualCoordinateAscentClassifierBench.cs (2)
51
nameof(MulticlassClassificationMetrics.
MacroAccuracy
),
52
_metrics.
MacroAccuracy
.ToString("0.##", CultureInfo.InvariantCulture));
Microsoft.ML.Samples (15)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
163
$"macro-accuracy = {metrics.
MacroAccuracy
}");
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
189
$"macro-accuracy = {metrics.
MacroAccuracy
}");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
187
$"macro-accuracy = {metrics.
MacroAccuracy
}");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
172
$"macro-accuracy = {metrics.
MacroAccuracy
}");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
133
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
141
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
136
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
146
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
141
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
134
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
134
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
140
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
150
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
141
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
150
Console.WriteLine($"Macro Accuracy: {metrics.
MacroAccuracy
:F2}");
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
163
$"macro-accuracy = {metrics.
MacroAccuracy
}");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
189
$"macro-accuracy = {metrics.
MacroAccuracy
}");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
187
$"macro-accuracy = {metrics.
MacroAccuracy
}");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
172
$"macro-accuracy = {metrics.
MacroAccuracy
}");
Microsoft.ML.TensorFlow.Tests (9)
TensorflowTests.cs (9)
678
Assert.Equal(0.93, metrics.
MacroAccuracy
, 0.01);
731
Assert.InRange(metrics.
MacroAccuracy
, expectedMacroAccruacy, 1);
853
Assert.InRange(metrics.
MacroAccuracy
, expectedMacroAccuracy - 0.1, expectedMacroAccuracy + 0.1);
903
Assert.Equal(.93, metrics.
MacroAccuracy
, 0.01);
1437
Assert.InRange(metrics.
MacroAccuracy
, 0.8, 1);
1540
Assert.InRange(metrics.
MacroAccuracy
, 0.8, 1);
1699
Assert.InRange(metrics.
MacroAccuracy
, 0.8, 1);
1829
Assert.InRange(metrics.
MacroAccuracy
, 0.8, 1);
1902
Assert.InRange(metrics.
MacroAccuracy
, 0.3, 1);
Microsoft.ML.Tests (6)
Scenarios\IrisPlantClassificationTests.cs (1)
90
Assert.Equal(.98, metrics.
MacroAccuracy
);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
92
Assert.Equal(.98, metrics.
MacroAccuracy
);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
95
Assert.Equal(.98, metrics.
MacroAccuracy
);
TrainerEstimators\SdcaTests.cs (1)
323
Assert.InRange(metrics.
MacroAccuracy
, 0.8, 1);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (1)
813
Assert.True(metrics.
MacroAccuracy
> 0.6);
TrainerEstimators\TreeEstimators.cs (1)
785
Assert.True(metrics.
MacroAccuracy
> 0.8);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
183
Assert.True(metrics.
MacroAccuracy
> .69);
Microsoft.ML.Transforms (4)
MetricStatistics.cs (2)
220
/// Summary statistics for <see cref="MulticlassClassificationMetrics.
MacroAccuracy
"/>.
264
MacroAccuracy.Add(metrics.
MacroAccuracy
);
PermutationFeatureImportanceExtensions.cs (2)
475
accuracyMacro: a.
MacroAccuracy
- b.
MacroAccuracy
,