Ch 8 · Overfitting & the Bias-Variance Tradeoff · Machine Learning & AI
Topic 8 of 13 in Machine Learning & AI — Foundations — 2 lessons.
Memorising vs Learning
A model overfits when it memorises the training data — including its noise — and then flops on new data. The tell-tale sign: near-perfect training score, poor test score.
The Bias-Variance Tradeoff
The goal is the sweet spot between them. Tools: more data, simpler models, and regularisation (penalising complexity).
All topics in Machine Learning & AI Beginner
- What Is Machine Learning?
- Data — Features, Labels & Splitting
- Linear Regression — Fitting a Line
- How Models Learn — Gradient Descent
- Classification — Predicting Categories
- Decision Trees
- Evaluating a Model Honestly
- Overfitting & the Bias-Variance Tradeoff
- The ML Workflow
- Mini-Project — A Spam Classifier
- Clustering — Finding Groups Without Labels
- Your First Real scikit-learn Model
- Words as Numbers — A Taste of NLP