Reimplementation of the DeepAR paper(https://arxiv.org/abs/1704.04110) in PyTorch.
-
Yunkai Zhang(yunkai_zhang@ucsb.edu) - University of California, Santa Barbara
-
Qiao Jiang - Brown University
- Install all dependencies listed in requirements.txt. Note that the model has only been tested in the versions shown in the text file.
- Download the dataset and preprocess the data:
python preprocess_elect.py
- Start training:
python train.py
If you want to perform ancestral sampling,
python train.py --sampling
If you do not want to do normalization during evaluation,
python train.py --relative-metrics
- Evaluate a set of saved model weights:
python evaluate.py
- Perform hyperparameter search:
python search_params.py