Introduction to Machine Learning

by Albert Major


Introduction to Ensemble Models

Bias and Variance Trade-off

Understanding error is crucial for ensemble methods. Error consists of Bias + Variance + Irreducible Error (noise in the data).

Methods of Combining Models

1. Voting (Parallel Combination)

Used when running different models (e.g., SVM, Logistic Regression, KNN) independently on the same data.

2. Bagging (Bootstrap Aggregating)

Bagging aims to reduce variance. It involves training multiple models of the same type in parallel on different versions of the dataset.

3. Random Forest (Specific Bagging Method)

Image of random forest structure

Random Forest is an extension of bagging applied specifically to decision trees.

4. Boosting

Image of boosting vs bagging

Boosting aims to reduce bias. It involves training models sequentially, where each new model attempts to correct the errors of the previous one.

5. Stacking

Stacking uses a "meta-learner" to combine predictions.