GithubHelp home page GithubHelp logo

ml-for-graph-analysis / traffic-prediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.06 MB

Project - Traffic forecasting by spatio-temporal graph model

Jupyter Notebook 84.08% Python 0.44% HTML 15.48%
spatio-temporal-prediction traffic-forecasting time-series graph pytorch

traffic-prediction's Introduction

Traffic-Prediction

This is the pytorch implementation for class project of AIGS703I(인공지능특론:그래프분석을 위한 기계학습)

This problem is challenging due to the complicated and dynamic spatio-temporal dependencies between different regions in the road network.

Models are mainly based on GraphWaveNet and refer to other state-of-date models.

Dataset: Metr-LA, PeMS-Bay

EDA

  • Role analysis of traffic graph data
  • Community analysis of traffic graph data(Louvain.ipynb)

Train Commands

Model 1.2

python train.py --data data/METR-LA --savehorizon True --sheetname Model2_METR-LA_60min --adjdata data/sensor_graph/adj_mx.pkl --batch_size 32 --adjtype doubletransition
python train.py --data data/PEMS-BAY --savehorizon True --sheetname Model2_PEMS-BAY_60min --num_nodes 325 --adjdata data/sensor_graph/adj_mx_bay.pkl batch_size 32 --nhid 16 --adjtype doubletransition

Model 2

python train.py --data data/METR-LA --savehorizon True --sheetname Model1_METR-LA_60min --adjdata data/sensor_graph/adj_mx.pkl --nhid 16 --batch_size 32 --adjtype transition
python train.py --data data/PEMS-BAY --savehorizon True --sheetname Model1_PEMS-BAY_60min --num_nodes 325 --adjdata data/sensor_graph/adj_mx_bay.pkl --nhid 16 --batch_size 32 --adjtype transition

Model 3

--batch_size 32

Model 4

--batch_size 32

traffic-prediction's People

Contributors

hannah37 avatar jooyoungyoo avatar wooheonhong avatar

Watchers

 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.