Coder Social home page Coder Social logo

jeongwhanchoi / stg-ncde Goto Github PK

View Code? Open in Web Editor NEW
114.0 2.0 22.0 31.13 MB

"Graph Neural Controlled Differential Equations for Traffic Forecasting", AAAI 2022

Home Page: https://arxiv.org/abs/2112.03558

License: MIT License

Python 99.78% Shell 0.22%
differential-equations traffic-forecasting spatio-temporal-graph graph-neural-networks spatio-temporal time-series stg-ncde

stg-ncde's Introduction

Graph Neural Controlled Differential Equations for Traffic Forecasting

Arxiv link

PWC PWC PWC PWC PWC PWC

Introduction

This is the repository of our accepted AAAI 2022 paper "Graph Neural Controlled Differential Equations for Traffic Forecasting". Paper is available on arxiv.

Citation

If you find this code useful, you may cite us as:

@inproceedings{choi2022STGNCDE,
  title={Graph Neural Controlled Differential Equations for Traffic Forecasting},
  author={Jeongwhan Choi AND Hwangyong Choi AND Jeehyun Hwang AND Noseong Park},
  booktitle={AAAI},
  year={2022}
}

Setup Python environment for STG-NCDE

Install python environment

$ conda env create -f environment.yml 

Reproducibility

Usage

In terminal

  • Run the shell file (at the root of the project)
$ bash run.sh
  • Run the python file (at the model folder)
$ cd model

$ python Run_cde.py --dataset='PEMSD4' --model='GCDE' --model_type='type1' --embed_dim=10 --hid_dim=64 --hid_hid_dim=64 --num_layers=2 --lr_init=0.001 --weight_decay=1e-3 --epochs=200 --tensorboard --comment="" --device=0

Star History

Star History Chart

stg-ncde's People

Contributors

jeongwhanchoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stg-ncde's Issues

Config file for other datasets

Hi jeongwhanchoi,

Thanks for your great work!
Can I have the config file you used for all other datasets in your paper? And can you share the dataset PeMSD7(M) and PeMSD7(L) ?
Thanks!

Problems considering irregular data

Hi, very great work!
Could you please show the code and detailed experimental setting related to irregular data experiments?
Thank you for consideration!

STG-NRDE

Hello, where is your code of STG-NRDE?

About irregular data

Hi, could you please show the code related to irregular data generation? Or, could you describe how you generate the irregular data, please?
Thank you.

Longer time-series input may performs bad?

Congratudate for your AAAI 2022 work. It's a nice work, but i met some problem when i use your model as a sota in my experiment. It performed very bad when i try to input 16, 24 or 144 steps in electricity and bikeNYC dataset. Even though i try to adjust some parameters like node_embedd dim, Chenb_k (1,2,3), hidden channel (16 may be the best), loss function (L2 and L1), it stilll does not make. I would like to inform you for some good solutions to solve it. I will appreciate it very much if there are some replies.

PEMS03 MAPE

image
Hello, why does MAPE have this problem on PEMS03?

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.