Function to normalise a variable for "average" meteorological conditions in a nested tibble.
rmw_normalise_nested_sets(
df_nest,
variables = NA,
n_samples = 10,
replace = TRUE,
se = FALSE,
aggregate = TRUE,
keep_samples = FALSE,
n_cores = NA,
verbose = FALSE,
progress = 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 df
and then predict?
Should variables
be sampled with replacement?
Should the standard error of the predictions be calculated too? The standard error method is the "infinitesimal jackknife for bagging" and will slow down the predictions significantly.
Should all the n_samples
predictions be aggregated?
When aggregate
is FALSE
, should the
sampled/shuffled observations be kept?
Number of CPU cores to use for the model predictions. Default is system's total minus one.
Should the function give messages?
Should a progress bar be displayed?
Stuart K. Grange
rmw_nest_for_modelling
,
rmw_model_nested_sets
, rmw_model_nested_sets
,
rmw_normalise
.