Curated · Ensemble Methods (Random Forest, Boosting)

MSQ · 2 marks · Problem ML-ENSM-0001

Which of the following statements about bagging and AdaBoost is/are correct?
  1. A
    In AdaBoost, after each round the weights of the correctly classified training points are increased, so that the next weak learner concentrates on them.
  2. B
    In bagging, a bootstrap sample of size \(n\) is drawn with replacement from \(n\) training points. The probability that a given training point does not appear in a particular bootstrap sample is \(\left(1-\frac1n\right)^{n}\), which approaches \(e^{-1}\approx0.368\) as \(n\to\infty\).
  3. C
    An ensemble averages the predictions of \(B=100\) trees. Each prediction has variance \(\sigma^{2}=4\), and every pair of trees has correlation \(\rho=0.25\). Then the variance of the averaged prediction is \(1.03\).
  4. D
    In AdaBoost, a weak learner whose weighted training error is exactly \(0.5\) receives vote weight \(\alpha=0\) in the final classifier.

Solve it on GATE DA practice →More Supervised Learning — Classification problems

Show the worked solution(A) Incorrect. AdaBoost multiplies the weight of each misclassified point by \(e^{\alpha}\) and each correctly classified point by \(e^{-\alpha}\), then renormalises. The misclassified (hard) points gain weight; the correctly classified ones lose it.(B) Correct. Each of the \(n\) draws misses a given point with probability \(1-\frac1n\), so the point is absent with probability \(\left(1-\frac1n\right)^{n}\to e^{-1}\approx0.368\). About \(63.2\%\) of the distinct points appear in each bootstrap sample; the rest are out-of-bag.(C) Correct. For \(B\) identically distributed predictors with pairwise correlation \(\rho\),\[\boxed{\operatorname{Var}\!\left(\frac1B\sum_{b=1}^{B}T_b\right)=\rho\sigma^{2}+\frac{1-\rho}{B}\,\sigma^{2}}=0.25(4)+\frac{0.75(4)}{100}=1+0.03=1.03 .\]Adding trees cannot push the variance below \(\rho\sigma^{2}\). This is why random forests decorrelate the trees with random feature subsets.(D) Correct. \(\alpha=\tfrac12\ln\dfrac{1-\varepsilon}{\varepsilon}\), or \(\ln\dfrac{1-\varepsilon}{\varepsilon}\) in some texts. Either way \(\alpha=\ln1=0\) at \(\varepsilon=0.5\): a learner no better than chance gets no say.Answer: B, C, D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com