Giter Club home page Giter Club logo

ei339-rl-project's Introduction

EI339-RL-Project

Team project about reinforcement learning for SJTU EI339-Artificial Intelligence.

In this project, we implement two tasks about reinforcement learning.

  • Easy 21 game
  • Reinforcement learning in Quanser Robot platform

Easy 21 game

We apply Q-learning algorithm and policy iteration method to solve Easy21 problem.
Some learning result:

value table
policy

Reinforcement learning in Quanser Robot platform

We implement the TRPO and MPC methods on Qube, Ball Balancer, CartPoleSwing platforms and solve the problem of each environment.
For the installation of the Quanser robot simulation environment, please see https://git.ias.informatik.tu-darmstadt.de/quanser/clients.

Some hyperparameter experiments figures:

CartPoleSwing
Qube

Reference:

How to run

  1. Easy 21 game
    • Q-learning algorithm
    python .\1-Easy21\Q-learning\run_q_learning.py
    
    • policy iteration method
    python .\1-Easy21\Policy-iteration\run_policy_iteration.py
    
  2. Quanser Robot platform
    • TRPO
    python .\2-Quanser_Robot\TRPO\main.py --env-name "Qube-100-v0"
    
    • MPC
    python 2-Quanser_Robot\MPC\MPC-Qube\run.py
    

ei339-rl-project's People

Contributors

zhangxi-2020 avatar

Stargazers

 avatar  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.