Description Usage Arguments Details See Also Examples
ape computes the elementwise absolute percent difference between two numeric
vectors
1 | ape(actual, predicted)
|
actual |
The ground truth numeric vector. |
predicted |
The predicted numeric vector, where each element in the vector
is a prediction for the corresponding element in |
ape is calculated as (actual - predicted) / abs(actual).
This means that the function will return -Inf, Inf, or NaN
if actual is zero.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.