Skip to content
StackDecode
AI & ML Atlas
Machine LearningalgorithmInteractive simulation

AdaBoost

Boosting that makes the next weak learner focus on the points the last one got wrong.

The idea

Every training point has a weight. After each weak learner (often a one-split "stump"), the weights of misclassified points go up, so the next stump concentrates on them. Learners with lower error get a bigger say in the final vote.

α = ½·ln((1 − err) / err)

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

  • class 0
  • class 1

All the data starts in one box. The tree will ask yes/no questions to separate the classes.

impurity:
0.5
1/4

Every cut is axis-aligned, so each region is a rectangle. Deeper trees carve finer boxes and can overfit.

Step by step

  1. 1Give every sample the same weight.
  2. 2Train a weak learner on the weighted data.
  3. 3Compute its weighted error and its vote strength α.
  4. 4Increase the weights of the misclassified samples.
  5. 5Repeat, and predict with the α-weighted vote.

Where it is used

Face detection (Viola-Jones) and simple, strong classifiers.

Watch out for

Sensitive to noisy labels, because it keeps boosting the mislabelled points.

Related