A model predicts y+10 for every observation. Why might explained variance look perfect while R² does not?
Classic MLLevel: AdvancedSystematic prediction offset
A model predicts y+10 for every observation. Why might explained variance look perfect while R² does not?
Hints
- Compare variance of errors with mean squared error.
- A constant can have nonzero magnitude and zero variance.
Answer
This answer is part of mentoring
Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.
Source and licence: scikit-learn 1.7.2 — model evaluation · BSD-3-Clause · answer: Quantoros editorial