Learn R Programming

tsensembler (version 0.0.5)

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