Giter Club home page Giter Club logo

lunarlander-1's Introduction

Lunar Lander

Description

This projects goal was to implement a smart agent to learn OpenAI Gym's lunar lander environment, such that it can consistently land within the designated zone. The agent uses on policy Q-Learning on top of a neural network that trains on experience replay.

Project structure

  • LunarLander
    • lunar_lander
      • nn_learning_agent.py
    • main.py
    • README.md

How To Run

  1. Install Python 3.5

  2. Please install scikit-learn and numpy http://scikit-learn.org/stable/install.html

  3. Using Python 3.5, run main.py. U may with to modify the variable record, which is currently set to False, as well as use a different api_key if you plan to upload to OpenAI

  4. Some results are printed to standard output after 100 episodes.

  5. If record is set to True, the results will be uploaded to OpenAI, and the url will be printed to standard out. Currently the agent is set to train for 25,000 episodes which can take several hours.

  6. Results that I recently uploaded can be found here. https://gym.openai.com/evaluations/eval_SpmmaCg7QEqeU47M8kkkw

lunarlander-1's People

Contributors

stillsj1 avatar

Watchers

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