git clone https://github.com/garjania/Tempel-HSC-.git
cd Tempel-HSC-
Experiments both on Tempel and our model is done on the H1N1, H3N2 and H5N1 influenza subtypes. The datasets are provided in this link. After downloading this folder (named raw) run the following commands to create a directory for datasets:
mkdir -p data/processed
Place the downloaded folder in the data directory just created.
Run the command below to train and test the model. --dataset
argument can be one of H1N1, H3N1 or H5N1. --start_year
indicates the first year which datasets are processed from and --end_year
shows the target year. To do preprocessing set --create_dataset
True and for training set --train
True.
python Tempel\ HSC.py --dataset=H1N1 --start_year=2001 --end_year=2016 --create_dataset=True --train=True
Similarly, for running Tempel 's code run the following command:
python Tempel.py --dataset=H1N1 --start_year=2001 --end_year=2016 --create_dataset=True --train=True