Skip to content
ML Academy

Classical ML, validation, metrics, interpretation, debugging · insight-0145

Pick MAE or RMSE from whether the decision needs the median or the mean

Evidence type
documented fact
Difficulty
easy
Roles
Data scientist, Data analyst
Industries
insurance, retail

Summary: situation, action, reason, boundary

  1. Situation

    You are choosing a training loss or headline metric for a regression model.

  2. Action

    Use squared error when totals or expected values drive the decision (budgets, revenue sums) and absolute error when typical-case accuracy matters; report both if stakeholders differ.

  3. Reason

    The expected squared error is minimized by the conditional mean and the expected absolute error by the conditional median.

  4. Boundary

    Regression with skewed targets such as revenue, claim size, delivery time or demand.

Symptom or risk

The model optimizes a different quantity than the decision uses; for skewed targets the median and mean can differ a lot.

Exceptions

With asymmetric costs neither is right; use a quantile (pinball) loss at the cost-optimal quantile.

Trade-offs

RMSE is sensitive to a few large errors, which is desirable when large misses are costly and harmful when they are data errors.

Pitfalls

Training on squared error and celebrating MAE, or vice versa, without noticing the mismatch.

Lessons and concepts

Claims and their sources