What happens to the bias and variance of a random forest if you decrease max_features towards 1?

Quick Overview

Asks how shrinking the number of candidate features per split changes the bias and variance of a random forest. It tests whether you can reason with the variance of correlated averages, explain what happens to individual tree strength, and say how the data affects the best setting.

What happens to the bias and variance of a random forest if you decrease max_features towards 1?

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 decrease `max_features` towards 1? `max_features` is the number of features the forest considers as candidates at each split. ```hint Variance of a correlated average Write down the variance of an average of B identically distributed estimators that are pairwise correlated. ``` ```hint One candidate per split Ask how good the best split can be when only one randomly chosen feature is on offer. ``` ### What a Strong Answer Covers - The effect on correlation between trees, and the ensemble variance formula that explains it - The effect on the strength and bias of each tree, including what happens at exactly 1 - That single-tree variance also rises and partly offsets the gain - How the answer depends on how many features are irrelevant or correlated - Practical defaults and how to tune the value ### Follow-up Questions - Why does adding more trees not remove the correlation term from the ensemble variance? - How do Extra-Trees differ from a random forest with `max_features=1`? - How would you tune `max_features`, and why is out-of-bag error convenient for it? - What model do you get if you raise `max_features` to the total number of features?

Overview: Asks how shrinking the number of candidate features per split changes the bias and variance of a random forest. It tests whether you can reason with the variance of correlated averages, explain what happens to individual tree strength, and say how the data affects the best setting.

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

What happens to the bias and variance of a random forest if you decrease max_features towards 1?

max_features is the number of features the forest considers as candidates at each split.

What a Strong Answer Covers Guidance

  • The effect on correlation between trees, and the ensemble variance formula that explains it
  • The effect on the strength and bias of each tree, including what happens at exactly 1
  • That single-tree variance also rises and partly offsets the gain
  • How the answer depends on how many features are irrelevant or correlated
  • Practical defaults and how to tune the value

Follow-up Questions Guidance

  • Why does adding more trees not remove the correlation term from the ensemble variance?
  • How do Extra-Trees differ from a random forest with max_features=1 ?
  • How would you tune max_features , and why is out-of-bag error convenient for it?
  • What model do you get if you raise max_features to the total number of features?