What is the AdaBoost algorithm for binary labels , and when and why must a weak classifier be rejected, in terms of its weight ?
Supervised learning, Ensembles
Level L3 Intermediate. Length Long. Nature Th+Mat Both.
What's being asked
Whether you can state AdaBoost precisely (sample weights, classifier weights, reweighting, final vote) and use the formula for to explain what goes wrong at a weighted error of 0.5 or more.
Key idea
A weak classifier only needs to beat random guessing. Its vote is , where is its weighted error, and only when . At , and the weights do not change, so the algorithm makes no progress. At , : the classifier is worse than chance. So it is rejected (or its output flipped).
Steps
- Initialise the sample weights equally: for . is how much point matters in round .
- For : train a weak classifier on the weighted data and compute its weighted error , where is 1 if the condition holds and 0 otherwise. If , reject and stop (or try another weak learner).
- Set and update . Since when correct and when wrong, mistakes are scaled up by and correct points scaled down by . makes the weights sum to 1.
- Output the weighted vote .
- Work a small example. If , then . Wrong points are multiplied by and correct ones by . After normalising, the wrong points hold exactly half the weight, so has error 0.5 on and the next round is forced to focus on what got wrong.
- Explain the rejection. The training error of is at most , and each factor is below 1 only if . At , and , so the next round faces the same problem and nothing improves. At , , which would mean adding the flipped classifier . The standard algorithm therefore requires , the weak-learning assumption.
Common mistakes
- Writing without the while using the update. The two must match.
- Forgetting to normalise the weights after each round.
- Not handling , where is infinite. Stop early, or clip to a small positive number.
- Saying a weak learner is rejected for being “too weak”. Any strictly below 0.5 is acceptable.
How long your answer should be
About a page: the algorithm plus a paragraph on rejection; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Supervised learning: A binary classification training set has 64 one-dimensional samples, 32 from each class, and all 64 values of are distinct. A decision tree splits with thresholds and keeps splitting until every leaf is pure. Justify each answer. (a) What is the maximum possible training accuracy? (b) What is the maximum possible depth of the tree? (c) What is the minimum possible depth? (d) Does the minimum-depth tree need regularisation?
Next in Supervised learning: Class 0 has points and class 1 has points . With equal priors, fit LDA (shared covariance). What are the discriminant direction and the boundary, and which class is the query assigned to?