View source: R/create_ensemble_relative_skill.R
create_ensemble_relative_skill | R Documentation |
Ensemble by relative skill
create_ensemble_relative_skill(
forecasts,
evaluation_date,
continuous_weeks = 4,
average = "mean",
skill = "wis",
history = "All",
by_horizon = FALSE,
eval_dir = here::here("evaluation", "weekly-summary"),
return_criteria = FALSE,
verbose = FALSE
)
forecasts |
|
evaluation_date |
which date should be used to measure model
performance? A corresponding file containing evaluations is expected in |
continuous_weeks |
include only forecasts with a history of evaluation |
average |
Method to average. One of |
skill |
the relative skill score to be used for creating the ensemble; a column called |
history |
the number of recent weeks of history to consider in determining the weights; either "All" or a number of weeks |
by_horizon |
whether to create the ensemble separately for each horizon (default: FALSE) |
eval_dir |
character: the path in which to look for evaluation csv files |
return_criteria |
logical : whether to return a model/inclusion criteria
grid as well as the ensemble forecast (default |
verbose |
Logical determining whether diagnostic messages should
be printed while running (defaults to |
Ensemble = sum of forecast values weighted by the inverse of relative skill Weights are by model, horizon, target, location i.e. not weighted by quantile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.