/Transformer_Timeseries

Pytorch code for Google's Temporal Fusion Transformer

Primary LanguagePython

🐐 Time Series Forecasting

Time series forecasting models

Set-up

  • 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

Models