est_percent_below | R Documentation |
Computes the percentage of estimates' errors below a given threshold
est_percent_below( actual = NULL, predicted = NULL, cutoff = 5, metric = "mape", errs = ind_error(actual, predicted, metric) )
actual |
A numeric vector of true values |
predicted |
A numeric vector of estimated values |
cutoff |
A numeric: "acceptable" error in percent |
metric |
A character naming how to compute the error |
The numeric percentage of prediction errors below the cutoff
est_percent_below(actual = c(35, 36), predicted = c(36, 34), cutoff = 5, metric = "mape")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.