Git Product home page Git Product logo

reinforcement_learning_project_traffic-signal-control's Introduction

final-project-done_finally-1

final-project-done_finally-1 created by GitHub Classroom Yi Chang 260619034 Wenting Wang 260367035 Yun Chen 260772822

AdaptiveTrafficSignalControl

This project explores applying Reinfrocement Learning approaches to traffic signal control

Acknowledgement

State, action definitions are implemented based on the understanding of the paper 'Adaptive Traffic Signal Control : Exploring Reward Definition For Adaptive Traffic Signal Control : Exploring Reward Definition For Reinforcement Learning' written by Saad Touhbia, Mohamed Ait Babrama, Tri Nguyen-Huub, Nicolas Marilleaub, Saad Touhbi , Mohamed Ait Babram , Tri Nguyen-Huu , Nicolas Marilleau, Moulay L. Hbida, Christophe Cambierb, Serge Stinckwichb (https://ac.els-cdn.com/S1877050917309912/1-s2.0-S1877050917309912-main.pdf?_tid=dd25f67a-c877-4538-a81e-8f044412a2da&acdnat=1524859146_4fbe7f74db4fd49aa0e9d9d7b4b23dab)

Envrionment and Packages

A OpenAI Gym (https://gym.openai.com/envs/#classic_control) environment is defined to simulate the environment using the following packages

Follow instruction to install SUMO and add environment variable SUMO_HOME (http://sumo.dlr.de/wiki/Installing)

Files

four_intersects.py
definition of RL agents, control of traffic lights using fixed control Q learning and dyna_Q

graph_results.py
graph experiment result based on the output of four_intersects.py

gym_env

  • four_intersects_env.py
    definition of Gym environment, different reward defintion is implemented here (please fix directory as you need)

  • register.py
    register the new Gym environment. 10 version of the environment is registered for 10 random sets of traffic scenario (please fix directory as you need)

  • import.py
    import the new Gym environment

sumo_env

  • includes all files for traffic simulation

reinforcement_learning_project_traffic-signal-control's People

Contributors

cherylwtw avatar ychang74 avatar

Stargazers

 avatar  avatar

reinforcement_learning_project_traffic-signal-control's Issues

test&run

hello, authors!
i just try to run your code. But it occurs an error.
It seems like gym error. Names KeyError: 'FourIntersects-v1',No registered env with id: FourIntersects-v1
Could you tell me how to run it?

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.