Base level models are trained according to specs, and meta level models are trained using a blocked prequential procedure in out-of-bag samples from the training data.
train_ade(form, train, specs, lambda, lfun, meta_model_type, num_cores)
formula;
training data as a data frame;
a model_specs-class
object class. It contains
the parameter setting specifications for training the ensemble;
window size. Number of observations to compute the recent performance of the base models, according to the committee ratio omega. Essentially, the top omega models are selected and weighted at each prediction instance, according to their performance in the last lambda observations. Defaults to 50 according to empirical experiments;
meta loss function - defaults to ae (absolute error)
algorithm used to train meta models. Defaults to a random forest (using ranger package)
A numeric value to specify the number of cores used to train base and meta models. num_cores = 1 leads to sequential training of models. num_cores > 1 splits the training of the base models across num_cores cores.