Share via


MulticlassClassificationMetrics.MacroAccuracy Property

Definition

Gets the macro-average accuracy of the model.

C#
public double MacroAccuracy { get; }

Property Value

Remarks

The macro-average is the average accuracy at the class level. The accuracy for each class is computed and the macro-accuracy is the average of these accuracies.

The macro-average metric gives the same weight to each class, no matter how many instances from that class the dataset contains.

Applies to

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0