Hyperparameters and tuning strategies for random forest
Top Cited Papers
- 28 January 2019
- journal article
- review article
- Published by Wiley in WIREs Data Mining and Knowledge Discovery
- Vol. 9 (3)
Abstract
The random forest (RF) algorithm has several hyperparameters that have to be set by the user, for example, the number of observations drawn randomly for each tree and whether they are drawn with or without replacement, the number of variables drawn randomly for each split, the splitting rule, the minimum number of samples that a node must contain, and the number of trees. In this paper, we first provide a literature review on the parameters' influence on the prediction performance and on variable importance measures. It is well known that in most cases RF works reasonably well with the default values of the hyperparameters specified in software packages. Nevertheless, tuning the hyperparameters can improve the performance of RF. In the second part of this paper, after a presenting brief overview of tuning strategies, we demonstrate the application of one of the most established tuning strategies, model‐based optimization (MBO). To make it easier to use, we provide thetuneRangerR package that tunes RF with MBO automatically. In a benchmark study on several datasets, we compare the prediction performance and runtime oftuneRangerwith other tuning implementations in R and RF with default hyperparameters.This article is categorized under: Algorithmic Development > Biological Data Mining Algorithmic Development > Statistics Algorithmic Development > Hierarchies and Trees Technologies > Machine LearningKeywords
All Related Versions
Funding Information
- Deutsche Forschungsgemeinschaft (BO3139/2‐3BO3139/6‐1)
- Bundesministerium für Forschung, Technologie und Raumfahrt (01IS18036A)
This publication has 40 references indexed in Scilit:
- Random forest Gini importance favours SNPs with large minor allele frequency: impact, sources and recommendationsBriefings in Bioinformatics, 2011
- Random Forests for Genetic Association StudiesStatistical Applications in Genetics and Molecular Biology, 2011
- Variable selection using random forestsPattern Recognition Letters, 2010
- To Explain or to Predict?Statistical Science, 2010
- Out-of-bag estimation of the optimal sample size in baggingPattern Recognition, 2010
- Variable Importance Assessment in Regression: Linear Regression versus Random ForestThe American Statistician, 2009
- An experimental comparison of performance measures for classificationPattern Recognition Letters, 2009
- Unbiased Recursive Partitioning: A Conditional Inference FrameworkJournal of Computational and Graphical Statistics, 2006
- Random Forests and Adaptive Nearest NeighborsJournal of the American Statistical Association, 2006
- Generalized Simulated Annealing for Function OptimizationTechnometrics, 1986