Skip to content
ML Academy

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

Treat a negative test R² as a signal of shift or broken features, not as a rounding curiosity

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, ML engineer
Industries
energy, retail

Summary: situation, action, reason, boundary

  1. Situation

    A regression model that scored well in validation shows negative R² on a new test period or segment.

  2. Action

    Compare against the constant baseline, check for level shifts, broken or missing features and target definition changes, and inspect residuals over time before tuning anything.

  3. Reason

    A negative R² means squared errors exceed the variance around the test mean, which usually reflects a systematic offset or a pipeline fault.

  4. Boundary

    Out-of-time tests, new markets, post-incident data and model monitoring.

Symptom or risk

The model is worse than predicting the test set's own mean; decisions based on it are worse than a constant.

Exceptions

Very small test sets with tiny variance can give negative R² from noise; check the absolute errors.

Trade-offs

A quick recalibration of the level may restore value while the root cause is investigated.

Pitfalls

Clipping R² at zero in dashboards, which hides the problem.

Lessons and concepts

Claims and their sources