Function to train random forest models using a nested tibble.
rmw_model_nested_sets(
df_nest,
variables,
n_trees = 10,
mtry = NULL,
min_node_size = 5,
n_cores = NA,
verbose = FALSE,
progress = FALSE
)
Nested tibble.
Nested tibble created by rmw_nest_for_modelling
.
Independent/explanatory variables used to predict "value"
.
Number of trees to grow to make up the forest.
Number of variables to possibly split at in each node. Default is the (rounded down) square root of the number variables.
Minimal node size.
Number of CPU cores to use for the model calculations.
Should the function give messages?
Should a progress bar be displayed?
Stuart K. Grange
rmw_nest_for_modelling
,
rmw_predict_nested_sets
, rmw_train_model