Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create internal R function to transform cdf model-output data to scoringutils-compatible format #23

Open
2 tasks
bsweger opened this issue Apr 3, 2024 · 0 comments
Assignees

Comments

@bsweger
Copy link
Collaborator

bsweger commented Apr 3, 2024

(formerly part of #12)

Create an internal data transformation function in hubEvals that will transform cdf model-output data into a format that can be successfully converted to a scoringutils forecast object: https://epiforecasts.io/scoringutils/dev/reference/as_forecast.html.

This is not a user-facing function. Instead, it will be invoked by the publicly-accessible function described in #11.

A good source of test data for this function is the forecast_outputs data object in the hubExamples repo (filtering on output_type == cdf)

https://github.com/Infectious-Disease-Modeling-Hubs/hubExamples/blob/main/data/forecast_outputs.rda

Definition of done:

  • A new R function called transform_cdf_model_output
  • Corresponding unit test(s)
@bsweger bsweger changed the title Write an R function to transform cdf model-output data to scoringutils-compatible format Create internal R function to transform cdf model-output data to scoringutils-compatible format Apr 3, 2024
@bsweger bsweger added this to the add scoring to hubverse milestone Apr 3, 2024
@kimberlynroosa kimberlynroosa moved this from Todo to In Progress in hubverse Development overview Apr 10, 2024
@kimberlynroosa kimberlynroosa moved this from In Progress to Todo in hubverse Development overview Apr 10, 2024
@kimberlynroosa kimberlynroosa moved this from Todo to In Progress in hubverse Development overview Apr 10, 2024
@kimberlynroosa kimberlynroosa self-assigned this Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants