View source: R/make_accuracy.R
make_accuracy | R Documentation |
The function estimates several accuracy metrics to evaluate the accuracy of point forecasts. Either along the forecast horizon or along the test-splits. By default, the following accuracy metrics are provided:
ME
: mean error
MAE
: mean absolute error
MSE
: mean squared error
RMSE
: root mean squared error
MAPE
: mean absolute percentage error
sMAPE
: scaled mean absolute percentage error
MPE
: mean percentage error
rMAE
: relative mean absolute error
make_accuracy(
future_frame,
main_frame,
context,
dimension = "split",
benchmark = NULL
)
future_frame |
A |
main_frame |
A |
context |
A named |
dimension |
Character value. The forecast accuracy is estimated by |
benchmark |
Character value. The forecast model used as benchmark for the relative mean absolute error (rMAE). |
accuracy_frame is tibble
containing the accuracy metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.