environmentaltools.common.maximum_absolute_error
- environmentaltools.common.maximum_absolute_error(a, b)[source]
Calculate Maximum Absolute Error between two arrays.
The MAE measures the largest absolute difference between predicted and observed values. Useful for identifying worst-case errors.
- Parameters:
a (array-like) – First array (e.g., observed values).
b (array-like) – Second array (e.g., predicted values).
- Returns:
The maximum absolute error value.
- Return type:
float