WEEK 5 · THURSDAY
Week 5 · Day 4 — Regression, Overfitting & Saving Models
2.3 hours·14 sections
Section 1 of 140/14 done
Week 5 · Day 4 — Regression, Overfitting & Saving Models
Theme: Machine Learning Tryouts 🤖⚽ Time: ~75 minutes Tools: Python, scikit-learn, pandas, matplotlib, joblib Goal: Predict goals scored (regression), master overfitting, save and reload models
Warm-Up: Classification vs. Regression
So far you've been doing classification: predict a category (W/D/L).
Today you'll do regression: predict a number (how many goals will be scored).
| Classification | Regression | |
|---|---|---|
| Output | Category | Number |
| Example | Win / Draw / Loss | 2.3 goals |
| Metrics | Accuracy, Precision | MAE, RMSE, R² |
| Algorithm examples | Decision Tree, Random Forest | Linear Regression, Random Forest Regressor |
Same general process, different output type.