Ensemble Learning: Cheat Sheet
The whole topic compressed for the night before the exam.
Ensembles
- Combine weak learners (accuracy slightly above 50%) into a strong learner.
- It only works if the learners' errors are independent.
- Averaging independent observations gives .
Bagging
- Sample with replacement; the learners are parallel and independent.
- About 63% in-bag, about 37% out-of-bag, because .
- OOB error is close to leave-one-out cross-validation, with no separate validation set.
- Roughly 100 learners are usually enough.
Boosting
- Sequential: each learner focuses on the previous learner's errors by up-weighting the misclassified points.
- The weak learner is typically a decision stump.
- Bagging reduces variance; boosting reduces bias, and can overfit.
AdaBoost
- .
- .
- .
- Worked: .
Manipulate the data distribution means bagging or boosting; manipulate the input features means random forests; manipulate the class labels means error-correcting output coding.