A pipeline for retrieving out-of-bag loss estimations
intraining_estimations(train, test, form, specs, lfun, num_cores)
train set from the training set;
test set from the training set;
formula;
object of class model_specs-class
. Contains
the specifications of the base models.
loss function for metalearning. Defaults to ae -- absolute error.
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.
A list containing two objects:
loss of base models in test
out-of-bag test samples
predictions by base models
Other out-of-bag functions: intraining_predictions