View source: R/yardstick-metric-sets.R
| maape | R Documentation |
Useful when MAPE returns Inf (e.g., intermittent data with zeros).
maape(data, ...)
## S3 method for class 'data.frame'
maape(data, truth, estimate, na_rm = TRUE, case_weights = NULL, ...)
data |
A data frame containing the truth and estimate columns. |
... |
Additional arguments (not used). |
truth |
The column identifier for the true results (numeric). |
estimate |
The column identifier for the predicted results (numeric). |
na_rm |
Logical, whether to remove missing values before computation. |
case_weights |
Optional column identifier for non-negative case weights (not used by |
A tibble with columns .metric, .estimator, and .estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.