hubverse-org / hubEvals

https://hubverse-org.github.io/hubEvals/
Other
1 stars 0 forks source link

Create internal R "stub" function to transform pmf model-output data to scoringutils-compatible format #24

Open bsweger opened 3 months ago

bsweger commented 3 months ago

(formerly part of https://github.com/Infectious-Disease-Modeling-Hubs/hubEvals/issues/12)

Similar to other hubverse-supported output types (e.g., #23, #24, #25), we will need an internal transformation function in hubEvals to handle transforming pmf model-output data into the scoringutils forecast object: https://epiforecasts.io/scoringutils/dev/reference/as_forecast.html.

However, scoringutils does not yet support the pmf model output type (related issue), so we're not yet able to do this data conversion.

In the meantime, we can create the internal function for transforming pmf output data, but use it to alert hubverse users that pmf scoring is not yet implemented (instead of doing the actual data transformation).

This is not a user-facing function. Instead, it will be invoked by the publicly-accessible function described in https://github.com/Infectious-Disease-Modeling-Hubs/hubEvals/issues/11.

Definition of done: