Giter VIP home page Giter VIP logo

3d-dgcn's Introduction

3D-DGCN

An implementation of 3D Dynamic Graph Convolutional Neural Network.

Datasets

Our datasets is from the NYC Bike. We obtained road network and 9 categories of PoIs from OpenStreatMap. In two datasets, the city is devided into 128 regular regions and 82 irregular regions, respectively. Each dataset contains 1448 time intervals, spanning from Jul. 1st to Sept. 30th, 2017.

Requirements

  • python 2.7
  • PyTorch 0.2.0
  • NumPy
  • JSON

Project Structure

  • /flow
    • flow_bike_nyc_regular.json contains the regular dataset
    • flow_bike_nyc_irregular.json contains the irregular dataset
  • /poi (* = regular or irregular)
    • *_feature.npy is the features of all regions $\bm{F}$
    • *_idx.npy is the index of labeled regions $\mathcal{V}_L$
    • *_label.npy is the labels of all regions $\bm{\Omega}$
    • *_weight.npy is the normalization term $frac{1}{|\mathcal{V}_L^{\Omega_i}|}$
  • /path
    • regular_path.npy contains the historical flow paths for the regular dataset
    • irregular_path.npy contains the historical flow paths for the irregular dataset
  • /main.py run this file to get the results of 3D-DGCN in our paper
  • /gcn.py is the implementation of our neural network
  • /dataset.py loads the dataset

Usage

python main.py

3d-dgcn's People

Contributors

lin-jj avatar

Stargazers

 avatar  avatar Wubing Shen avatar  avatar  avatar  avatar YangBing avatar

Watchers

 avatar

3d-dgcn's Issues

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.