Plot a heatmap of the relative crps by locations and forecast date for the head-to-head comparison
Source:R/plot_relative_scores.R
plot_rel_score_heatmap.Rd
Plot a heatmap of the relative crps by locations and forecast date for the head-to-head comparison
Arguments
- scores
A tibble of daily scores by forecast date, location, and model
- target_model
Model for which to plot relative CRPS
- baseline_model
Baseline model for the relative CRPS
- metric_to_compare
Metric for which to compute the relative score. One of
"wis"
or"crps"
. Passed as themetric_to_compare
argument toscoringutils::get_pairwise_comparisons()
viaforecasttools::summarise_scores_with_baseline()
.