| compare_models | R Documentation |
Summarises and ranks engines across horizons based on forecast accuracy scores.
compare_models(scores, by = "engine")
scores |
Output of |
by |
Grouping variable(s). Default |
A tibble with average scores per group, sorted by MAE.
sim <- simulate_dynamics(n_lineages = 3,
advantages = c("A" = 1.2, "B" = 0.8),
n_timepoints = 20, seed = 1)
bt <- backtest(sim, engines = "mlr",
horizons = c(7, 14), min_train = 42)
sc <- score_forecasts(bt)
compare_models(sc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.