Description Usage Arguments Value See Also Examples
Scores an entry based on the observed truth provided. verify_entry
should be run prior to scoring, along with remove_invalid
if
invalid probabilities are detected.
1 | score_entry(entry, truth)
|
entry |
A valid entry data.frame with columns location, target, bin_start_incl, value, and forecast week |
truth |
A data.frame containing all true values with columns location, target, forecast_wk, and bin_start_incl. If multiple bins are considered correct for a given target, all correct bins must be included here. |
A data.frame of scores for each target
expand_truth
verify_entry
remove_invalid
1 2 3 | scores <- score_entry(full_entry_week, truth_1516)
scores <- score_entry(full_entry_hosp_score, hosp_truth_1617)
scores <- score_entry(full_entry_state_score, state_truth_1617)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.