GithubHelp home page GithubHelp logo

kahchanlow / gcgrnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leilin-research/gcgrnn

0.0 0.0 0.0 441.31 MB

Graph Convolutional Neural Networks with Data-driven Graph Filter (GCNN-DDGF)

Python 76.57% Jupyter Notebook 23.43%

gcgrnn's Introduction

Graph Convolutional Gated Recurrent Neural Network (GCGRNN)

Improved from Graph Convolutional Neural Networks with Data-driven Graph Filter (GCNN-DDGF)

This repository includes GCGRNN and GCNN-DDGF work for the following challenges:

  • Network-wide Station-level Bike-Sharing Demand Prediction
  • Network-wide Traffic Speed Prediction
  • Network-wide Traffic Volume Prediction

Bike-Sharing Demand Prediction (GCNN-DDGF)

The Bike-sharing demand dataset includes over 28 million bike-sharing transactions between 07/01/2013 and 06/30/2016, which are downloaded from Citi BSS in New York City. The data is processed as follows:

  • For each station, 26304 hourly bike demands are aggregrated based on the bike check-out time and start station in trasaction records;

  • New stations were being set up from 2013 to 2016. Only stations existing in all three years are included;

  • Stations with total three-year demand of less than 26304 (less than one bike per hour) are excluded.

After preprocessing, 272 stations are considered in this study. The 272 by 26304 matrix is saved as NYCBikeHourly272.pickle. The Lat/Lon coordinates of 272 stations are saved in citi_bike_station_locations.csv.

Network-wide Traffic Speed Prediction (GCGRNN)

We are using the traffic speed data from Los Angeles (metr-la.h5) provided in the following paper:

The current best performance is 3.19 (Mean Absolute Error) for a 12-step prediction. The comparison of our GCNN-DDGF and DCRNN is shown as follows:

Network-wide hourly Traffic Volume Prediction (GCGRNN)

We download a real-world network-wide hourly traffic volume dataset from the PeMS system District 7 (01/01/2018-06/30/2019). The dataset (sensor_volume_150.csv) includes 150 sensors, each sensor has 13,104 hourly traffic volumes. The dowloading and preprocessing can be found here.

The whole dataset is split into training, validation, and testing datset according to a rate of 0.7, 0.1, and 0.2. The comparison of GCGRNN and a few benchmark models including DCRNN for a 12-step prediction is also shown as below:

We also compare the spatial prediction performance of GCGRNN and DCRNN:

Network-wide 15-minute Traffic Volume Prediction (GCGRNN)

We download a real-world network-wide 15-minute traffic volume dataset from the PeMS system District 7 (01/01/2019-06/30/2019). The dataset (sensor_volume_150_15min.csv) includes 150 sensors, each sensor has 17,376 15-minute traffic volumes.

The performance of GCGRNN and a few benchmark models for this dataset is also shown as below:

Training Time Comparison

We find that GCNN-DDGF can be trained much faster than DCRNN at a single GTX 1080 Ti machine. The training configuration files can be found here.

Citation

You are more than welcome to cite our paper:

@article{lin2018predicting,
  title={Predicting station-level hourly demand in a large-scale bike-sharing network: A graph convolutional neural network approach},
  author={Lin, Lei and He, Zhengbing and Peeta, Srinivas},
  journal={Transportation Research Part C: Emerging Technologies},
  volume={97},
  pages={258--276},
  year={2018},
  publisher={Elsevier}
}

gcgrnn's People

Contributors

leilin-research avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.