What is bootstrapping in ensemble learning?

Updated May 17, 2026

Short answer

Bootstrapping is sampling data with replacement to create multiple training subsets.

Deep explanation

Bootstrapping is a statistical technique where multiple datasets are created by randomly sampling with replacement from the original dataset. Each bootstrap sample is used to train a separate model. This introduces diversity among models in ensemble methods like bagging and Random Forest. The variability across models helps reduce overall variance when predictions are aggregated.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Supervised Learning interview questions

View all →