Phase 5 - Ensemble Learning
What ensemble learning is
Ensembles combine multiple “weak” or “diverse” models to produce a stronger overall predictor.
Key idea:
- many models make different mistakes
- combining them reduces overall error
This is the same idea behind the wisdom of the crowd: aggregate many independent guesses and the aggregate is often better than any single expert’s guess. Géron opens Hands-On Machine Learning’s Chapter 7 with exactly this analogy — and then shows that an ensemble of Decision Trees, called a Random Forest, is “one of the most powerful Machine Learning algorithms available today,” despite each individual tree being simple.
The three big families
flowchart TD E[Ensembles] --> B[Bagging] E --> O[Boosting] E --> S[Stacking / Voting] B --> RF[Random Forest] O --> GB[Gradient Boosting] S --> V[Voting] S --> ST[Stacking]
Phase 5 topics
- The Power of Ensembles: Why Combine Models?
- Bagging: Random Forest Regressor/Classifier
- Boosting: Introduction to AdaBoost
- Gradient Boosting (XGBoost, LightGBM, CatBoost)
- Stacking and Voting Classifiers
Why this phase matters
Ensembles are often:
- top performers on tabular datasets
- robust and hard to beat as baselines
They’re also a stepping stone to production ML because they often generalize well. In fact, the winning solutions in Machine Learning competitions (most famously the Netflix Prize) almost always combine several ensemble methods rather than relying on one model.
If this helped you, consider buying me a coffee ☕
Buy me a coffeeWas this page helpful?
Let us know how we did
