Tune a forests
Finds the optimal parameters to be used in training a forest.
tune_forest( data, nrow.X, ncol.X, args, tune.parameters, tune.parameters.defaults, num.fit.trees, num.fit.reps, num.optimize.reps, train )
data |
The data arguments (output from create_train_matrices) for the forest. |
nrow.X |
The number of observations. |
ncol.X |
The number of variables. |
args |
The remaining call arguments for the forest. |
tune.parameters |
The vector of parameter names to tune. |
tune.parameters.defaults |
The grf default values for the vector of parameter names to tune. |
num.fit.trees |
The number of trees in each 'mini forest' used to fit the tuning model. |
num.fit.reps |
The number of forests used to fit the tuning model. |
num.optimize.reps |
The number of random parameter values considered when using the model to select the optimal parameters. |
train |
The grf forest training function. |
tuning output
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.