torch_timeseries.dataset.ILI
- class ILI(root: str = './data')[source]
Bases:
TimeSeriesDatasetILI (Influenza-Like Illness) records the weekly ratio of influenza-like illness patients versus the total patients by the Centers for Disease Control and Prevention (CDC) of the United States from 2002 to 2021.
This dataset contains 966 data points, each with 7 features, and the data frequency is hourly (‘h’).
Collected from: https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html.
- Parameters:
TimeSeriesDataset (_type_) – The base class for time series datasets.
- Returns:
The data loaded from the CSV file.
- Return type:
np.ndarray
_summary_
- Parameters:
root (str) – data save location