Function to make predictions from a random forest models using a nested tibble.
rmw_predict_nested_sets(
df_nest,
se = FALSE,
n_cores = NULL,
keep_vectors = FALSE,
model_errors = FALSE,
as_long = TRUE,
partial = FALSE,
verbose = FALSE,
progress = FALSE
)
Nested tibble.
Nested tibble created by rmw_model_nested_sets
.
Should the standard error of the predictions be calculated?
Number of CPU cores to use for the model calculations.
Should the prediction vectors be kept in the return? This
is usually not needed because these vectors have been added to the
observations
variable.
Should model error statistics between the observed and predicted values be calculated and returned?
For when model_errors
is TRUE
, should the model
error unit be returned in "long format"?
Should the model's partial dependencies also be calculated? This will increase the execution time of the function.
Should the function give messages?
Should a progress bar be displayed?
Stuart K. Grange
rmw_nest_for_modelling
,
rmw_model_nested_sets
, rmw_predict
,
rmw_calculate_model_errors
,
rmw_partial_dependencies