CDCgov / wastewater-informed-covid-forecasting

Wastewater-informed COVID-19 forecasting models submitted to the COVID-19 Forecast Hub
https://cdcgov.github.io/wastewater-informed-covid-forecasting/
Apache License 2.0
44 stars 8 forks source link

203 update scoringutils 2.0.0 #204

Closed kaitejohnson closed 1 week ago

kaitejohnson commented 2 weeks ago

This PR closes #203. It uses v2.0.0 of scoringutils to compute the full set of scores based on the samples and quantiles of the forecasted hospital admissions in the evaluation pipeline.

Note this is a WIP. Currently we have just edited the inputs to scoringutils::score() which expects new names for the predicted and observed values and requires converting from a data.table to a forecast object. For compatibility with the rest of the downstream functions (mostly plotting) I converted names back to what we had previously named the columns (true_value and prediction). This might be incompatible with summarise_scores().

To do

kaitejohnson commented 1 week ago

Going to close as not planned for now