R² (coefficient of determination) is a commonly used metric to evaluate regression models, but a high R² can be misleading. Using three model types — mean, linear, and polynomial — the post explains how R² measures only the proportion of variance explained on training data. A mean model yields R²=0 (underfitting), while a high-degree polynomial can achieve R²=1 by memorizing noise (overfitting). The linear model strikes a balance. Because R² doesn't measure predictive performance on unseen data, robustness, or generalization, practitioners should complement it with train-test splits, cross-validation, regularization, adjusted R², and out-of-sample testing.

5m read timeFrom r-bloggers.com
Post cover image
Table of contents
The Meaning ofThe Mean ModelThe Polynomial ModelThe Linear ModelWhy Alone Is Insufficient
150 Impressions