How does AdaBoost compute sample weights after each iteration?

Quick Overview

Asks how AdaBoost reweights training samples after each boosting round. Tests the exponential update rule, how the stage weight comes from the weighted error, why renormalization leaves the last learner at 50% error, and the link to exponential loss.

How does AdaBoost compute sample weights after each iteration?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How does AdaBoost compute sample weights after each iteration? Consider discrete AdaBoost for binary classification, with labels in $\{-1, +1\}$ and a weak learner fit on weighted training data at each round. ```hint Two groups of points Split the training points into those the latest learner got right and those it got wrong, and ask what factor each group's weights should be multiplied by. ``` ```hint Check after normalization Once the weights are renormalized, compute the weighted error of the learner you just fit on the new weights. ``` ### What a Strong Answer Covers - The update rule and how the stage weight alpha enters it - How the stage weight is computed from the weighted error - The renormalization step and what it implies for the previous learner's error on the new weights - The link between each sample's weight and the exponential loss of the current ensemble - Edge cases such as zero weighted error or error at or above one half ### Follow-up Questions - Why is AdaBoost sensitive to label noise and outliers, and how do the weights show it? - How does the update change for multiclass problems in SAMME? - What can you do if the weak learner cannot accept sample weights? - How does AdaBoost's reweighting relate to gradient boosting?

Overview: Asks how AdaBoost reweights training samples after each boosting round. Tests the exponential update rule, how the stage weight comes from the weighted error, why renormalization leaves the last learner at 50% error, and the link to exponential loss.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

How does AdaBoost compute sample weights after each iteration?

Consider discrete AdaBoost for binary classification, with labels in {−1,+1}\{-1, +1\} and a weak learner fit on weighted training data at each round.

What a Strong Answer Covers Guidance

  • The update rule and how the stage weight alpha enters it
  • How the stage weight is computed from the weighted error
  • The renormalization step and what it implies for the previous learner's error on the new weights
  • The link between each sample's weight and the exponential loss of the current ensemble
  • Edge cases such as zero weighted error or error at or above one half

Follow-up Questions Guidance

  • Why is AdaBoost sensitive to label noise and outliers, and how do the weights show it?
  • How does the update change for multiclass problems in SAMME?
  • What can you do if the weak learner cannot accept sample weights?
  • How does AdaBoost's reweighting relate to gradient boosting?