jarad / FluSight

An R package containing functions used in the CDC Flu Forecasting competition
GNU General Public License v3.0
12 stars 7 forks source link

Potential File Structure #3

Open craigjmcgowan opened 7 years ago

craigjmcgowan commented 7 years ago

I've been thinking over the weekend about potential functions/files and how they can fit with the existing submission template and info needed to score the forecasts. Here's what I've come up with - @jarad please let me know what you think.

Functions:

Teams could run create_point and verify_entry before submitting their forecasts to CDC. The other three functions would be used in scoring the forecasts.

jarad commented 7 years ago

I agree that these functions all seem useful, although I think it will make sense to tweak the names. I'm starting off the package by creating an S4 class called Entry that will be an R entry object. S4 classes have a feature that allows you to specify a function that checks validity of the object, so that is where verify_entry will go.

jarad commented 7 years ago

The S4 class is gone.

jarad commented 7 years ago

Much work has been done to create a verify_entry function that is helpful. It isn't completed, but a lot of it is there.

Two functions exist to create probabilistic forecasts and are in the this file.