Back to the 2025 paper

Unit 4: Advanced Topics & Clustering

20252m

In Bagging, multiple models are trained on
(i) The same dataset
(ii) Only test data
(iii) Random subsets of the training data
(iv) Feature-reduced data only

Worked SolutionAI Assisted

Answer: (iii) Random subsets of the training data

Explanation — Bagging (Bootstrap Aggregating):

  • Given training set DD of size nn, Bagging creates MM bootstrap samples DmD_m: each by sampling nn points with replacement → random subset (≈63.2% unique per bag, rest out-of-bag).
  • Train one base learner fmf_m on each DmD_m (e.g., decision trees in Random Forest).
  • Aggregate: classification by majority vote, regression by averaging: f^bag(x)=1M∑fm(x)\hat{f}_{bag}(x)=\frac1M\sum f_m(x).
  • Purpose: reduces variance, avoids overfitting, parallelizable.

Contrast:

  • (i) same dataset — no diversity, defeats ensemble purpose
  • (ii) only test data — would be leakage, never train on test
  • (iv) feature-reduced only — that is feature bagging / Random Subspace part of Random Forest (both row + column sampling), but primary definition is row bootstrap.

So (iii) is core.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.