Learn R Programming

tsensembler (version 0.0.5)

base_models_loss: Computing the error of base models

Description

Computing the error of base models

Usage

base_models_loss(Y_hat, Y, lfun = se, y_tr)

Arguments

Y_hat

predictions of the base models ("@Y_hat" slot) from base_ensemble-class object;

Y

true values from the time series;

lfun

loss function to compute. Defaults to ae, absolute error

y_tr

target of training set