advancedadvanced-ml

AdaBoost

Each new model in the chain pays extra attention to whatever the last one got wrong.

Key Points

What it is

AdaBoost (Adaptive Boosting) builds a sequence of weak learners — usually shallow decision trees called stumps — where each new learner is trained to focus more on the examples the previous learners misclassified. The final prediction is a weighted vote of all learners, with more accurate learners given more say.

Why it exists

A single weak learner (like a one-split decision stump) barely beats random guessing on its own. AdaBoost exists to prove — and exploit — the idea that a sequence of weak learners, each nudged to fix the last one's blind spots, can be combined into a strong overall classifier.

Intuition

Picture a study group preparing for an exam. After each practice test, the group specifically re-studies the questions everyone got wrong, then takes another test. Over several rounds, the group's collective knowledge covers what any one student would have missed. AdaBoost does this with data points instead of exam questions — it keeps reweighting the 'hard' examples so the next learner pays them more attention.

How it works

  1. Initialize equal weights

    Every training example starts with the same weight/importance.

  2. Train a weak learner

    Fit a simple model (e.g. a decision stump) on the weighted data.

  3. Score and reweight

    Increase the weight of misclassified points so the next learner focuses on them; decrease weight of correctly classified points.

  4. Repeat

    Train the next weak learner on the updated weights, repeating for a set number of rounds.

  5. Combine with weighted vote

    Final prediction is a weighted vote across all learners, where more accurate learners get more influence.

When to use

When not to use

Common mistakes

In practice

Largely superseded in practice by Gradient Boosting and XGBoost, but still taught as the conceptual foundation of boosting and occasionally used for face detection-style problems with simple, fast base learners.

Was this concept helpful?

Spot an error or gap? Suggest an edit →

Related concepts

ensemble-methodsgradient-boostingdecision-trees
Chirp at me!