What are the main hyperparameters of a Random Forest and what does each control?

Quick Overview

Asks for the main hyperparameters of a Random Forest and what each one controls. It tests whether you can separate ensemble size, the settings that decorrelate trees, and the limits on each tree's complexity, and explain how each affects bias, variance and cost.

What are the main hyperparameters of a Random Forest and what does each control?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What are the main hyperparameters of a Random Forest and what does each control? ```hint Group by what they control Sort the settings by whether they change how many trees there are, how different the trees are from each other, or how complex each tree can get. ``` ### What a Strong Answer Covers - Ensemble size, and why adding trees does not cause overfitting - The decorrelation settings (features per split, bootstrap and sample size) and the trade-off between tree strength and correlation - The per-tree complexity limits and how they regularize - The split criterion, class weighting, and utility settings such as the out-of-bag estimate that leave capacity unchanged ### Follow-up Questions - Why does a forest's variance stop falling as you add trees, and which setting lowers that floor? - How would you tune a Random Forest on 1 million rows with a limited compute budget? - When would you let every split consider all features, and what does the model become then? - How do these hyperparameters differ in role from those of gradient boosting, where adding trees can overfit?

Overview: Asks for the main hyperparameters of a Random Forest and what each one controls. It tests whether you can separate ensemble size, the settings that decorrelate trees, and the limits on each tree's complexity, and explain how each affects bias, variance and cost.

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

What are the main hyperparameters of a Random Forest and what does each control?

What a Strong Answer Covers Guidance

  • Ensemble size, and why adding trees does not cause overfitting
  • The decorrelation settings (features per split, bootstrap and sample size) and the trade-off between tree strength and correlation
  • The per-tree complexity limits and how they regularize
  • The split criterion, class weighting, and utility settings such as the out-of-bag estimate that leave capacity unchanged

Follow-up Questions Guidance

  • Why does a forest's variance stop falling as you add trees, and which setting lowers that floor?
  • How would you tune a Random Forest on 1 million rows with a limited compute budget?
  • When would you let every split consider all features, and what does the model become then?
  • How do these hyperparameters differ in role from those of gradient boosting, where adding trees can overfit?