calculate_stats.RdCalculate basic statistics, like RMSE, MPE, MAPE for forecasted data
calculate_stats(
.res,
rounding = 3,
acc_error_abs = NULL,
acc_error_rel = NULL,
warn = TRUE
)output object (mipdeval_results) from run_eval(), or
data.frame with raw results.
number of decimals to round to.
For calculating accuracy(): Positive number
providing an absolute or relative error margin. The cutoff is exclusive of
the error margin. When NULL (the default), accuracy will not be
calculated and will return NA instead.
should a warning be emitted when failed fits (NA predictions) are detected?
tibble