MAE

class MAE[source]

Bases: PlibEvaluatorMixin

Mean absolute error (MAE).

evaluate(predictions, true_values)[source]

Base evaluation function.

Parameters:
  • predictions (ndarray[Any, dtype[TypeVar(_ScalarType_co, bound= generic, covariant=True)]]) – predictions of the model to be evaluated

  • true_values (PlibData) – true values to evaluate predictions on

Return type:

float

Returns:

evaluation score