| recommend_model | R Documentation |
Scores every candidate model against analyze_series()'s measured
trend/seasonality/regularity, with short human-readable reasons – no
model is actually fit, so this is fast enough to run right after a
dataset is finalized.
recommend_model(analysis, holidays_configured = FALSE, candidates = NULL)
analysis |
The list returned by |
holidays_configured |
Logical; whether holidays are configured for
this dataset. Every model except Prophet is scored down when |
candidates |
Character vector of registry keys to score (see
|
A data frame with columns model (label), key, score, and
reason, sorted by score descending.
df <- tibble::tibble(ds = as.Date("2024-01-01") + 0:59, y = 1:60 + rnorm(60))
recommend_model(analyze_series(df, "day"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.