Learn R Programming

tsensembler (version 0.0.2)

mae: Computing the mean absolute error

Description

Mean Absolute Error loss function.

Usage

mae(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: ae, mase, mse, r_squared, se