Machine learningTree ensembles (Bagging)

Random Forest

Random forest

Tasks
Classification, regression
Application areas
General: medicine, environment, finance
Common metrics
Accuracy, Precision, Recall, F1-score, ROC-AUC
Papers in the repository
3

Description and architecture

A Bagging ensemble of decision trees.

An ensemble of trees trained on Bootstrap samples with random feature selection at each split.

Inputs and outputs: Feature table → class/value

What can be optimized?

n_estimators, max_depth, max_features, min_samples_leaf, bootstrap

Advantages

Robust to overfitting, low sensitivity to its parameters

Limitations

Slower inference with thousands of trees, less interpretable

Relationship table: three separate kinds of evidence

Theoretical fit Theoretically suitable optimization types

Optimization typeRationaleConditions of use
Hyperparameter OptimizationModel performance is sensitive to its hyperparameters, and the search space is mixed and non-differentiable, so population-based algorithms are suited to exploring it.Use inner cross-validation to avoid data leakage.
Feature SelectionReducing features improves interpretability and may reduce overfitting; a binary encoding (mask) suits the binary versions of the algorithms.Use inner cross-validation to avoid data leakage.
Feature EngineeringFeature transformations or combinations can be searched as an optimization problem at the preprocessing level.Use inner cross-validation to avoid data leakage.
Ensemble OptimizationSetting ensemble member weights or choosing a subset of members is a low-dimensional continuous/binary optimization problem.Use inner cross-validation to avoid data leakage.
Class Imbalance OptimizationClass weights, the decision threshold or resampling ratios can be optimized for a balanced metric (F1, Balanced Accuracy).Use inner cross-validation to avoid data leakage.
Model SelectionModel selection and its hyperparameters can be encoded together in one vector (CASH) and evaluated with cross-validation.Use inner cross-validation to avoid data leakage.

Published result Algorithms that appeared with this model in repository papers

An algorithm appearing in a published paper does not mean it is the best for this model; the results are tied to the data and settings of that paper.

Tested by the user Completed experiments recorded by lab users

No completed experiments have been recorded for this model yet.

Related papers

Reference

Breiman (2001) Random Forests 10.1023/A:1010933404324