Traffic Flow Prediction with Neural Networks(SAEs、LSTM、GRU).
- Python 3.6
- Tensorflow-gpu 1.5.0
- Keras 2.1.3
- scikit-learn 0.19
Run command below to train the model:
python train.py --model model_name
You can choose "lstm", "gru" or "saes" as arguments. The .h5
weight file was saved at model folder.
Data are obtained from the Caltrans Performance Measurement System (PeMS). Data are collected in real-time from individual detectors spanning the freeway system across all major metropolitan areas of the State of California.
Run command below to run the program:
python main.py
nihao