NEW
Also known as: Tree Ensemble
An ensemble method that aggregates many decision trees to improve predictive accuracy and robustness.
DESCRIPTION
Decision forests build many decision trees on bootstrapped samples and aggregate their predictions, typically by averaging for regression or voting for classification. Randomized feature selection and sampling reduce overfitting and variance. They provide strong baselines, good out-of-the-box performance, and useful feature importance signals. Out-of-bag estimates enable internal validation without a holdout set. While less interpretable than single trees, they are more stable and accurate. They scale well and are widely supported in ML libraries and cloud services.
ALTERNATIVE DEFINITIONS
Wikipedia
Random forests or random decision forests are an ensemble learning method for classification, regression and other tasks that operate by constructing a multitude of decision trees at training time and outputting the class that is the mode of the classes or mean prediction of the individual trees.
Highlights tree ensembles, training-time construction, and aggregation mechanism.
scikit-learn
A random forest is a meta estimator that fits a number of decision tree classifiers on various sub-samples of the dataset and uses averaging to improve predictive accuracy and control over-fitting.
Emphasizes sub-sampling and averaging to reduce overfitting.
RELATED TERMS
Decision Tree Ensemble Learning Bagging Bootstrap Aggregation Out-of-Bag Error Gini Impurity Classification and Regression Trees Feature Importance Model Overfitting
COMPETING TERMS
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer MLOps Engineer Data Engineer
EXTERNAL SOURCES
- Wikipedia - Random forest
- scikit-learn - Library documentation on forest ensembles
- Microsoft Learn - Azure guidance on decision forest
TOP QUESTIONS
Why choose a Decision Forest over a single Decision Tree?
Decision forests reduce variance by averaging many trees, improving accuracy and robustness. They mitigate overfitting common in deep single trees while maintaining strong predictive performance.
Category: Relevancy
How does a Decision Forest combat overfitting?
Bagging and feature randomness diversify trees, reducing correlation and variance. Out-of-bag evaluation further guides hyperparameters that prevent overfitting.
Category: Requirements
What is Out-of-Bag (OOB) error in a Decision Forest?
OOB error estimates model performance using samples not included in each tree’s bootstrap. It approximates validation performance without separate holdout data.
Category: Example
What are common hyperparameters in a Decision Forest?
Key settings include number of trees, max depth, max features per split, minimum samples per leaf, and bootstrap strategy. Tuning balances bias-variance trade-offs.
Category: Requirements
What is a common mistake when using Decision Forests?
Relying solely on default settings can underfit or overfit. Ignoring class imbalance or feature scaling pitfalls may degrade performance and interpretability.
Category: Mistakes
How does Decision Forest compare to Gradient Boosting?
Forests average parallel trees and are robust with minimal tuning, while boosting sequentially reduces errors but needs careful regularization and tuning for best results.
Category: Alternatives
Are Decision Forests explainable?
They are less interpretable than single trees but provide global feature importance and can be probed with SHAP for local explanations.
Category: Misunderstanding
When is a Decision Forest a strong baseline?
With tabular, mixed-type data and moderate feature interactions, forests often deliver high performance quickly, serving as a robust benchmark.
Category: Topic
What are performance risks with Decision Forests?
Very large forests can be memory-intensive and slower at inference. Highly correlated features may dilute importance scores.
Category: Risk