Useful when MAPE returns Inf (e.g., intermittent data with zeros).
maape(data, ...)# S3 method for data.frame
maape(data, truth, estimate, na_rm = TRUE, case_weights = NULL, ...)
A tibble with columns .metric
, .estimator
, and .estimate
.
A data frame containing the truth and estimate columns.
Additional arguments (not used).
The column identifier for the true results (numeric).
The column identifier for the predicted results (numeric).
Logical, whether to remove missing values before computation.
Optional column identifier for non-negative case weights (not used by maape
).