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 type | Rationale | Conditions of use |
|---|---|---|
| Hyperparameter Optimization | Model 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 Selection | Reducing 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 Engineering | Feature transformations or combinations can be searched as an optimization problem at the preprocessing level. | Use inner cross-validation to avoid data leakage. |
| Ensemble Optimization | Setting 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 Optimization | Class 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 Selection | Model 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
| Algorithm | Optimization type | Paper |
|---|---|---|
| WOA | Hyperparameter Optimization | Reliability Analysis of Surface Tracking Method Using Classification Methods (svm, random forest,… |
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
- Reliability Analysis of Surface Tracking Method Using Classification Methods (svm, random forest, XGBoost) with Whale Optimization Algorithm Partially verified
- A Random Forest Algorithm Combined with Bayesian Optimization for Atmospheric Duct Estimation Partially verified
- An Advanced Model to Predict Heart Disease Applying Random Forest Classifier and Whale Optimization Algorithm Partially verified
Reference
Breiman (2001) Random Forests 10.1023/A:1010933404324
