What happens to the bias and variance of a Random Forest if you disable bootstrapping?

Quick Overview

Asks what happens to a Random Forest's bias and variance when bootstrap sampling is turned off and every tree trains on the full dataset. Tests understanding of tree correlation, the variance of averaged predictors, and what becomes of out-of-bag error estimates.

What happens to the bias and variance of a Random Forest if you disable bootstrapping?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What happens to the bias and variance of a Random Forest if you disable bootstrapping? In scikit-learn terms, this is training the forest with `bootstrap=False` while the other settings stay the same. ```hint Where the diversity comes from List the sources of randomness that make one tree in a forest differ from another, and note which one disappears. ``` ```hint Averaging correlated models Write down the variance of an average of B predictors that each have variance $\sigma^2$ and pairwise correlation $\rho$. Which term does adding more trees fail to shrink? ``` ### What a Strong Answer Covers - What changes in the data each tree is trained on, and how that affects per-tree bias - Which source of diversity remains once row resampling is gone, and how tree correlation drives the ensemble's variance - The degenerate case where feature subsampling is also turned off - Practical side effects, such as what happens to out-of-bag error estimates ### Follow-up Questions - If you keep `bootstrap=False`, how would you adjust `max_features` to keep the trees diverse, and what does that do to per-tree bias? - Why does Extra Trees work well with bootstrapping off by default? - How would you estimate generalization error without out-of-bag rows, and what does that cost in compute? - How does subsampling rows without replacement (for example, half the data per tree) compare with the usual bootstrap?

Overview: Asks what happens to a Random Forest's bias and variance when bootstrap sampling is turned off and every tree trains on the full dataset. Tests understanding of tree correlation, the variance of averaged predictors, and what becomes of out-of-bag error estimates.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What happens to the bias and variance of a Random Forest if you disable bootstrapping?

In scikit-learn terms, this is training the forest with bootstrap=False while the other settings stay the same.

What a Strong Answer Covers Guidance

  • What changes in the data each tree is trained on, and how that affects per-tree bias
  • Which source of diversity remains once row resampling is gone, and how tree correlation drives the ensemble's variance
  • The degenerate case where feature subsampling is also turned off
  • Practical side effects, such as what happens to out-of-bag error estimates

Follow-up Questions Guidance

  • If you keep bootstrap=False , how would you adjust max_features to keep the trees diverse, and what does that do to per-tree bias?
  • Why does Extra Trees work well with bootstrapping off by default?
  • How would you estimate generalization error without out-of-bag rows, and what does that cost in compute?
  • How does subsampling rows without replacement (for example, half the data per tree) compare with the usual bootstrap?