mae

mae(x, y, w=None)[source]

Mean absolute error.

Parameters:
  • x (numpy.array) – Reference values.
  • y (numpy.array) – Output values.
  • w (numpy.array) – Weights.
Returns:

Mean absolute error.

Return type:

float