Function to make predictions by meteorological year from a random forest models using a nested tibble.
rmw_predict_nested_sets_by_year(
df_nest,
variables = NA,
n_samples = 10,
aggregate = TRUE,
n_cores = NULL,
verbose = FALSE
)
Nested tibble.
Nested tibble created by rmw_model_nested_sets
.
Variables to randomly sample. Default is all variables used
for training the model with the exception of date_unix
, the trend term.
Number of times to sample the observations from each meteorological year and then predict.
Should all the n_samples
predictions be aggregated?
Number of CPU cores to use for the model calculations.
Should the function give messages?
Stuart K. Grange
rmw_nest_for_modelling
,
rmw_model_nested_sets