Home

Awesome

LSTNet

Running the code

  1. Download & extract the training data:
    • $ mkdir data && cd data
    • $ wget https://github.com/laiguokun/multivariate-time-series-data/raw/master/electricity/electricity.txt.gz
    • $ gunzip electricity.txt.gz
  2. Train the model (~1.5 hours on Tesla K80 GPU with default hyperparams):
    • $ cd src && python lstnet.py --gpus=0

Results & Comparison

Hyperparameters

The default arguements in lstnet.py achieve equivolent performance to the published results. For other datasets, the following hyperparameters provide a good starting point: