Code Monkey home page Code Monkey logo

project_2_continuous-control's Introduction

Project 2: Continuous Control

The Unity environment

In this project we are solving the "Reacher" environment using the open-source Unity plugin Unity Machine Learning Agents (ML-Agents). We are using the variant with only a single agent. The main use-case of those environments is to use trained agents for multiple purposes. But we are using it for designing, training and evaluating the performance of our own agent.

The game and the rewards

The goal in the environment "Reacher" is to keep a double-jointed arm at a moving target location which is a ball moving in a circle around the arm. This goal is definined by the reward rule +0.1 for each time step the hand of the arm in the goal location.

Reacher example

The action and state space

The continuous action space is a 4-dimensional vector, each entry between -1 and 1 and corresponding to torque applicable to two joints. The state space consists of the position, rotation, velocity, and angular velocities of the arm. It has 33 dimensions.

The instructions for solving the environment

The environment is considered to be solved after having achieved an average score of 30 in 100 consecutive episodes.

The instructions for installing the environment

  1. Clone the repository https://github.com/fjonck/Project_2_Continuous-Control
  2. Open the notebook Continuous_Control.ipynb with Jupyter Notebook
  3. In the menu, click on Cell -> Run All
  4. Enjoy watching the Reacher Agent learn :)

project_2_continuous-control's People

Contributors

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