Giter Site home page Giter Site logo

zhongly1021 / sumo-hfedrl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nathaniel-hudson/sumo-fedrl

0.0 0.0 0.0 82.8 MB

Implementation of Federated Reinforcement Learning for traffic control using SUMO and a real-world testbed.

License: MIT License

Python 19.93% Jupyter Notebook 80.07%

sumo-hfedrl's Introduction

Smart Edge-Enabled trAffic Lights (SEAL)

Implementation of Federated Reinforcement Learning for traffic control using SUMO and a real-world testbed.

The goal of this project is to provide a platform for simple single- and multi-agent reinforcement learning (RL) and federated reinforcement learning (FedRL) for smart traffic light control. The traffic simulator we use is SUMO.

Multi-Agent FedRL

We consider a multi-agent approach for FedRL using the OpenAI Gym interface. The gym for this scenario is defined as follows:

class MultiAgentEnv(gym.Env):
    def step(self, action_n: List[Any]) -> Tuple:
        obs_n = list()
        reward_n = list()
        done_n = list()
        info_n = {"n": []}
        # ...
        return obs_n, reward_n, done_n, info_n

For the multi-agent environment, we will use the MultiAgentEnv class provided by the RlLib API.

https://docs.ray.io/en/master/rllib-env.html#multi-agent-and-hierarchical

sumo-hfedrl's People

Contributors

nathaniel-hudson avatar zhongly1021 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.