This is an example solution that implements both federated and centralized versions of simple, single-parameter disease model for Track B: Pandemic Forecasting.
The model is based on the discrete-time SIR model of infectious disease dynamics in a population. This model's description of disease state closely matches how the disease state is represented in the simulation that produced the challenge dataset.
Because our task is forecasting the risk of becoming infected during the test period, we are primarily interested in the first term of the difference equation for the number of infections, which represents the number of new infections. (The second term represents the number of infected individuals who recover.) The
We can fit an estimate
To produce the target predictions, we use our estimated
For the federated version, we will simply treat each day from each partition as an observation. The sums in the above equation for
To run this example, first ensure that you have valid data files in data/pandemic
and have the runtime image built or pulled.
Then, to pack up the example submission:
SUBMISSION_TRACK=pandemic make pack-example
and then to run the submission locally
# To federated submission
SUBMISSION_TYPE=federated SUBMISSION_TRACK=pandemic make test-submission
# To run centralized submission
SUBMISSION_TYPE=centralized SUBMISSION_TRACK=pandemic make test-submission