Home

Awesome

Colagnn

This is the source code for paper Cola-GNN: Cross-location Attention based Graph Neural Networks for Long-term ILI Prediction appeared in CIKM2020 (research track)

Raw Data

The raw dataset are in in the data folder. For each dataset, there are two files defined. For example, for the Japan-prefecture dataset, we have two files:

Training Data

The training data are processed by the DataBasicLoader class in the src/data.py file. We can set different value for historical window size args.window and horizon/leadtime args.horizon. Setting args.window=20, args.horizon=1/2 means using data from the previous 20 weeks to predict the upcoming/next week. There are some functions in this class: