evalml.objectives.PrecisionMacro

Inheritance diagram of PrecisionMacro
class evalml.objectives.PrecisionMacro[source]

Precision score for multiclass classification using macro averaging.

Methods

objective_function

Computes the relative value of the provided predictions compared to the actual labels, according a specified metric

score

Returns a numerical score indicating performance based on the differences between the predicted and actual values.

validate_inputs

Validates the input based on a few simple checks.