Giter Club home page Giter Club logo

wadc's Introduction

WADC

wide-attention and deep model

Installation

  • Python 2.7
  • Tensorflow-gpu 1.5.0
  • Keras 2.1.3
  • scikit-learn 0.19

Train the model

Run command below to train the model:

  • Train the baseline single DL model based on CPeMS dataset.
python train_t.py --model model_name

You can choose "lstm", "gru" or "saes" as arguments. The .h5 weight file was saved at model folder.

  • Train the composite DL model based on CPeMS dataset.
python train_wd.py --model model_name

You can choose "w_attention_d" (WADM) or "wd_crossLayer_attention" (DCN) as arguments. The .h5 weight file is saved at model folder.

  • Training model based on FBBC dataset.
python train_bike.py --model model_name

You can choose "lstm", "gru" as arguments for training single DL model or choose "w_attention_d" (WADM) for training composite DL model.

Experiment

Data are obtained from the Caltrans Performance Measurement System (CPeMS) and Fremont Bridge Bicycle Counter (FBBC).

device: GTX 1050
dataset: CPeMS and FBBC
optimizer: RMSprop

Citation

@ARTICLE{9120076,
  author={J. {Zhou} and H. {Dai} and H. {Wang} and T. {Wang}},
  journal={IEEE Transactions on Industrial Informatics}, 
  title={Wide-Attention and Deep-Composite Model for Traffic Flow Prediction in Transportation Cyber-Physical Systems}, 
  year={2020},
  volume={},
  number={},
  pages={1-1},}
  

wadc's People

Contributors

zhoujunhao avatar

Watchers

 avatar

Forkers

hndai danten1222

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.