Description Usage Arguments Value
Compute accuracy of algorithms
1 | perf_accuracy(actual, predicted)
|
actual |
A vector of actual values. Can contain NAs |
predicted |
A data.frame of predicted values. Each column being one forecast. This is especially usefull for forecasting algorithm which have different forecasting accuracy according to their iterated power. |
Returns a data.frame with 2 columns: r2 and MAPE and 1 row for each column in predicted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.