Overview#
On this page, we provide an outline on the contents of this section, define a few running examples of Hubs, and describe in some detail the key concepts of task ID variables and submission rounds.
User Guide section outline#
This section of the documentation provides standards for:
Structure of hub repositories: standards for file and directory structures for Hubs
Hub configuration files: the files needed to set up and run a modeling hub
Modeling tasks: tasks define the goals of the modeling effort in terms of variables and output format
Model metadata: metadata describing models
Model output: standard formats for model output, such as forecasts and projections that are saved in Hubs
Sample output type: a deeper look at a specific model output type
Target data: standard formats for target data, the eventually observable quantities of interest to a hub
Model abstracts: structure for round-specific detailed narrative descriptions of modeling methods and results
Dashboards: tools to build a dashboard website for a modeling hub
Software: suite of packages to assist users in building a hub
Presentations: slides and videos about the hubverse
Running examples#
In this section, we introduce some running examples that will illustrate and motivate the proposed infrastructure, as well as some core concepts that will be used repeatedly in the following sections. We identify the task ID variables and output types for each hub, which are discussed in more detail in the description of tasks metadata.
Example 1: A simple forecast hub
This example is adapted from COVID-19 hospitalization forecasts submitted to the US COVID-19 Forecast Hub to provide examples of nowcasts. Also, we would like to point out that the description below was written to mirror the technical set-up of the simple forecast hub example repository. The following specifications can be determined from the tasks.json configuration file for this hub.
This hub allows submissions on a pre-specified set of dates specified by the origin_date
task ID variable. Each origin_date
corresponds to a separate modeling round. In each round, the submissions follow the same format. There is a single target, called inc covid hosp
, which, in English, translates to “weekly incident COVID-19 hospitalizations” for that day. Mean point forecasts are provided at the state and territory level in the US.
Task ID variables
target
(the sole target key variable, see the NOTE below): can only take the value “inc covid hosp”location
: “US”, “01”, “02”, …, “78” (FIPS codes for US states and territories)origin_date
(this variable is specified as the one from which rounds are given IDs): nowcast date
NOTE
Since the target in the simple forecast hub is defined by a single task_id variable (target
) that only takes one value (inc covid hosp
), the hub maintainers could have opted not to include any target_key
variable to save space in the file.
For example, the row in CSV submission files will have the same value in the target
column, making this information redundant.
Example 2: COVID-19 forecasts, adapted from the US COVID-19 Forecast Hub
This hub collects forecasts at 1 through 4 weeks ahead of cases, hospitalizations, and deaths at a set of locations. Each forecast is assumed to originate from a specific date.
Task ID variables
target
(target key variable): “cases”, “hospitalizations”, “deaths”location
: an identifier of a location, e.g., “US”origin_date
: the date when a forecast was generated, e.g., “2021-07-11”horizon
: 1, 2, 3, 4 (in units of weeks, which is specified in the target metadata)
Output types
a set of predictive quantiles at specified probability levels
a predictive mean (see NOTE)
NOTE
The US COVID-19 Forecast Hub did not specify what type of point forecast should be submitted, but here we are being more specific to illustrate what we think would be a best practice.
Submission rounds#
Many Hubs will accept model output submissions over multiple rounds. In the case of the forecast hubs, there has typically been one submission round per week, while the scenario hubs have had submission rounds less frequently, typically about once per month. As part of the hub configuration files, Hubs should specify a set of round_id
values that uniquely identify the submission round. For instance, for weekly submissions, the round ID might be the date that submissions are due to the hub or a specification of an epidemic week. More generic identifiers such as “round1” may be preferred when the rounds do not follow a predetermined schedule. The round ID will be used as the file names of model output submissions, round-specific model abstract submissions, and in the hub metadata to specify model tasks that may vary across rounds.