Learn R Programming

tsensembler (version 0.1.0)

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)

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