Advertisement
Beginner Supervised & Unsupervised Learning, Decision Trees & Random Forests

How does Decision Trees & Random Forests work

Short answer

A decision tree splits data step by step based on feature values, while a random forest builds many different trees on random subsets of data and combines their predictions.

Save Supervised & Unsupervised Learning mock interview
Advertisement
AModel answer
A decision tree splits data step by step based on feature values, while a random forest builds many different trees on random subsets of data and combines their predictions.
Real-world example
A bank uses a random forest model to decide whether to approve a loan application based on many combined decision tree predictions.
Likely follow-ups
  • What is Supervised & Unsupervised Learning, How is Decision Trees & Random Forests evaluated in practice, What tools are commonly used for Decision Trees & Random Forests
Related topics