ADST:Forecasting Metro Flow using Attention based Deep Spatio-Temporal Networks with Multi-task Learning
- python==3.6.8
- keras==2.24
- tensorflow==1.13.1
- pandas==0.24.2
- statsmodels==0.10.1
- windows10
- ADST Model network diagram
- The script is used to test the model, including the training of ADST model (street net), LSTM and ARIMA model. The model path used by street net and LSTM is modified in config.py
- Run python test.py
- This script is used to train models, including ADST model (street net), LSTM and ARIMA model. The model parameters are modified in config.py
- Run python train.py
- This script is used to train the ADST multi-step model, and the model parameters are modified in config.py
- Run python train_multi.py
- Modify model configuration parameter script
- Read and save the original data (CSV format) as NPY format
- train_data:Store NPY files for training
- test_data:Store NPY files required for testing
- mae_compare:NPY files for storing real and predicted values
- This script uses taxibj data set to train ADST model
- This script is used to test the ADST model trained with taxibj dataset
- Four indicator scripts. In the interim, mass needs to import pycast package in python2 environment
- Store various model scripts
- Store original data file(.csv)
- Baidu cloud disk link:https://pan.baidu.com/s/1bALCLtrxYcGQb9P1zbgFMg
- Extraction code:rami