Dela via


MulticlassClassificationMetrics.MacroAccuracy Property

Definition

Gets the macro-average accuracy of the model.

public double MacroAccuracy { get; }
member this.MacroAccuracy : double
Public ReadOnly Property MacroAccuracy As Double

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