What is the difference between Decision Trees and Random Forests?

Updated May 16, 2026

Short answer

A Decision Tree is a single model, while a Random Forest is an ensemble of multiple trees using bagging and feature randomness.

Deep explanation

Random Forests improve Decision Trees by reducing variance through ensemble learning. Each tree is trained on a bootstrap sample and uses a random subset of features at each split. The final prediction is obtained by averaging (regression) or majority voting (classification). This decorrelation between trees significantly improves robustness and generalization.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Decision Trees interview questions

View all →