Lesson 18 of 18 · 2 min
Common Errors & Fixes
| Error | Fix |
|---|---|
| Forgetting to split train/test | Always split before fitting — never evaluate on training data |
| Using MSE to compare models on different datasets | Use RMSE or MAE — they're in original units, easier to compare |
| Thinking R²=0.6 is bad | Depends on domain — for housing 0.6 is acceptable, for medical 0.6 is poor |
| Fitting model on all data then evaluating | Test set must be unseen data — fit only on X_train, evaluate on X_test |
| Not checking feature coefficients | Always print coefficients — negative coefficient = feature hurts price |
