Learn R Programming

tsensembler (version 0.1.0)

ae: Computing the absolute error

Description

Element-wise computation of the absolute error loss function.

Usage

ae(y, y_hat)

Arguments

y

A numeric vector representing the actual values.

y_hat

A numeric vector representing the forecasted values.

See Also

Other error/performance functions: mse(), se()