Time series forecasting models
-
Install the required packages (pip or conda)
pip install -r requirements.txt
conda env create -f env.yml
-
Download data
-
Train and Test on electricity dataset
python ./main.py --exp_name electricity --conf_file_path ./conf/electricity.yaml
Plot prediction on Test set
python ./main.py --exp_name electricity --conf_file_path ./conf/electricity.yaml --inference=True
-
Temporal fusion transformer
https://arxiv.org/pdf/1912.09363.pdfUsage:
-model: tf_transformer
-
Transformer
https://arxiv.org/pdf/1706.03762.pdf
https://pytorch.org/tutorials/beginner/transformer_tutorial.htmlUsage:
-model: transformer
-
GRN-Tranformer
Use GRN block after multi-head attention to encode static variablesUsage:
-model: grn_transformer