Skip to content

DeepAR implementation for seasonal influenza cases in German districts

Notifications You must be signed in to change notification settings

Kai-Ref/DeepAR_InfluenzaForecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepAR Influenza Forecast

This repository contains code and resources for training and evaluating a DeepAR model for probabilistic influenza forecasting.

Table of Contents

Overview

The DeepAR Influenza Forecast project aims to produce probabilistic forecasts for influenza activity in German districts based on historical data and covariates. The project uses the DeepAR algorithm, which is a popular deep learning model for time series forecasting introduced by Salinas et al. (2020). In contrast to the Amazon Sagemaker implementation, we incorporate the DeepAR model through the GluonTS library. Lastly, we compare the DeepAR model to the Simple Feedforward Neural Network from GluonTS as well as to the hhh4 model from the surveillance R-package.

Repository Structure

This repository is made up of the following directories, which contain:

  • HyperparameterFiles: the result-files of hyperparameter runs.
  • Notebooks: all jupyter notebooks and in particular notebooks that:
  • PythonFiles/: Python files that define important functionalities, which are accessed continuosly by notebooks.
  • R/: R files, used to implement the hhh4 model from the surveillance package.

Important Modules and Code Segments

A good first start to grasp our implementation is with the StepByStepGuide.ipynb notebook. However, our final implementation looks a bit different from this.

DataProcessing

EarlyNotebooks

FigureCreation

FurtherResearch

Modeltuning

OldNotebooks

PythonFiles

R