internalsGet Pro

Module 07 · Lesson 6 of 12Pro

Random forests: many trees voting together

Level
Intermediate
Topic
Classical ML: regression and classification
Reading time
17 min

When you finish this page you can

  1. Explain how bootstrap samples and random feature subsets turn many overfit trees into one steadier model.
  2. Use the correlation between trees to predict how much adding more trees can still help.
  3. Read a forest’s out-of-bag score as a free held-out estimate, and say when it stops being one.
  4. Choose between impurity-based and permutation importance, knowing why the first favours features with many values.
  1. Bias and variance: two kinds of error16 min
  2. Overfitting and underfitting13 min
  3. Logistic regression: predicting probabilities13 min
  4. Decision trees: learning rules by splitting data14 min

Two trees, two different Monday lists

is our example online store. Every Monday, Joseph’s growth team sends ₹100 vouchers to the 20,000 customers most likely to : to stop buying. Farah, an ML engineer, builds the model that ranks them, on a notebook sample of 200,000 customers.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan