What is the difference between Mean Absolute Error (MAE) and Mean Squared Error (MSE)?

What is the difference between Mean Absolute Error (MAE) and Mean Squared Error (MSE)?

Approach: Compare linear error vs squared error.

MAE is the average of the absolute differences between predictions and actual values. MSE is the average of the squared differences. MSE penalizes large errors more heavily than MAE.

Follow-up: What is RMSE?

Key concepts: outliers, loss function, optimization.