Skip to main content
. 2021 Jul 23;15(3):77. doi: 10.3892/br.2021.1453

Table II.

Description of the Random Forest algorithm hyperparameters and ranges.

Hyperparameter Definition Significance/usefulness Grid search range
Mtry Number of variables available for splitting at each tree node The predictor variable/feature importance estimates are affected by mtry. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15
Ntree Number of trees to be grown in the model Number of trees affects model variance. Increasing ntree increases performance and computation cost. 1, 5, 10, 100, 500, 1,000, 1,500, 2,000 and 2,500