Finds the optimal parameters to be used in training a forest.
tune_forest(
data,
nrow.X,
ncol.X,
args,
tune.parameters,
tune.parameters.defaults,
tune.num.trees,
tune.num.reps,
tune.num.draws,
train
)
tuning output
The data arguments (output from create_train_matrices) for the forest.
The number of observations.
The number of variables.
The remaining call arguments for the forest.
The vector of parameter names to tune.
The grf default values for the vector of parameter names to tune.
The number of trees in each 'mini forest' used to fit the tuning model.
The number of forests used to fit the tuning model.
The number of random parameter values considered when using the model to select the optimal parameters.
The grf forest training function.