Coder Social home page Coder Social logo

masters_project's Introduction

Masters Project

Reinforcement Learning in Fault Tolerant Control

Author: Fotinos Kyriakides - The University of Cambridge

Installing the necessary packages

The project requires that custom libraries are used, to act as ai-gym environments, as well as some complementary libraries

Installing gym_Boeing

cd Environment/gym-Boeing
pip install -e . 

Installing the Lunar Lander

This lunar lander package is a modified version of the one found in AI Gym.

cd "Lunar Lander/Lunar-gym"
pip install -e . 

Installing Partial Observability Libraries

These libraries are auxiliary to the lunar lander. One intercepts the env outputs, making them partially observable and the other augments the state input to the agent.

cd "Lunar Lander/pomdp_libs/gym_pomdp"
pip install -e . 
cd "Lunar Lander/pomdp_libs/gym-pomdp-wrappers"
pip install -e . 

Scenarios - Plane

  1. "boeing-danger-v1" -- Modes: [A,B,C,D]
  2. "failure-train-v1" -- Modes: [A,B,C,D], [A,0.5B,C,D]
  3. "failure-train-v2" FAILS -- Modes: [A,B,C,D], [A,-B,C,D]
  4. "faultyA-train-v0" -- Modes: [A,B,C,D], [0.8A,B,C,D]
  5. "failure-train-v3" -- Modes: [A,B,C,D], [A,0.5B,C,D], [0.8A,B,C,D]
  6. "actuation-train-v0" -- Modes: Normal, Elevator Lag = 2sec
  7. "four-modes-train-v0" -- Modes: [A,B,C,D], [A,0.5B,C,D], [0.8A,B,C,D], Throttle Lag = 5sec & Elevator Lag = 1sec

Scenarios - Lunar Lander

  1. "partially-obs-v0" -- Modes: Default
  2. "mass-train-v0" -- Modes: Default, Mass = 3
  3. "inertia-train-v0" -- Modes: Default, Moment of Inerta = 8
  4. "inertia-mass-train-v0" -- Modes: Default, Moment of Inerta = 8, Mass = 3
  5. "sticky-train-v0" --Modes: Probability of stuck controler = 0.1
  6. "sticky-im-train-v0" -- Modes: Default, Moment of Inerta = 8, Mass = 3, Probability of stuck controler = 0.1

These are the availble training environments.

Replacing "train", with "test" in all the above environment names will give their respective training environments, which include additional test modes, novel to the trained agent.

Before testing any one agent on the environments, ensure that the exists a file with the name of the corresponding training environemnent in the agent folder (ie ensure that the agent has been trained on the environment).

masters_project's People

Contributors

fotinosk avatar

Stargazers

 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.