Mean Absolute Error (Mae)
[!def] Mean Absolute Error Formula
$$
MAE = \frac{1}{N} \sum_i |x_i - \hat{x_i}|
$$
Pros of MAE
- Easy to calculate
- Errors are weighted on the same scale
- Used for training with outliers as don't give high error
Cons of MAE
- Not differentiable at 0.
- Challenging to computer Gradient