Giter Site home page Giter Site logo

rdulmina / traffic-control-reinforcement-learing-agent Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 3.9 MB

Deep Reinforcement Learning Agent to control traffic light providing emergency facilitation using real-time traffic data.

Jupyter Notebook 100.00%
reinforcement-learning reinforcement-learning-environments reinforcement-learning-agent traffic-light-control traffic-light-controller machine-learning deep-learning neural-network

traffic-control-reinforcement-learing-agent's Introduction

Minimize Traffic Congestion with Emergency Facilitation using DeepReinforcement Learning.

Abstract

In intelligent traffic light control, matrices derived from real-time traffic data are paramount for effi-ciency and performance. The rewards and state representations in previous studies could mislead a Reinforcement Learning agent in some cases. This paper examines the effectiveness of considering the Standard Deviation of vehicle’s Wait-ing Time (SDWT) on Deep Reinforcement Learning based traffic congestion control with emergency facilitation. The proposed method was selfevaluated by only considering average waiting time under both synthetic and Toronto real-world dataset. It has demonstrated that the proposed method was able to gain a significant impact on performance by considering the SDWT. More-over, the proposed method was able to reach zero waiting time for emergency vehicles.


Please run the Testing section of Agent.ipynb to run the agent

ezgif com-video-to-gif

State representation Matrix M and Vector P

7

traffic-control-reinforcement-learing-agent's People

Contributors

rdulmina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rick711c

traffic-control-reinforcement-learing-agent's Issues

requirements

hi please what is the performance of your machine? And which version of TF and Keras do you use?

Paper

Hello
Thank you for sharing your code.

Could you provide the papers or tutorials that comes with this code?

do your code use gpu ?

I am encountering extended execution times while running reinforcement learning code on my system. Despite having an RTX 3060 GPU, 12 GB of RAM, and 64 GB of system memory, the processing time seems unusually high. I am seeking assistance in understanding the potential causes for this and exploring possible optimizations. noted i use the same parameter as you

action step and testing phase

hello sir i try your code but in training phase i get 1500 action onlly ow ever i didnt change anything and maximum waiting time was 140 in your code you have 12000 action and maximum waiting time for regular vehicle 140 too my qution why i didnt get same nbr of action.
anather quetion regarding testing phase it go worst with your model of DQN.h5 and it is not finishing how ever time of end similation is 50000 i dont konw why the waiting time become more and more biger am in 12 day on testing and nothing goes good how ever you mention that it stay onlly 60 s

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.