intraining_estimations {tsensembler} | R Documentation |
A pipeline for retrieving out-of-bag loss estimations
intraining_estimations(train, test, form, specs, lfun, num_cores)
train |
train set from the training set; |
test |
test set from the training set; |
form |
formula; |
specs |
object of class |
lfun |
loss function for metalearning. Defaults to ae – absolute error. |
num_cores |
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()