Git Product home page Git Product logo

lunarlander's Introduction

Lunar Lander

CS7642 Project 2: OpenAI’s Lunar Lander problem, an 8-dimensional state space and 4-dimensional action space problem. The goal was to create an agent that can guide a space vehicle to land autonomously in the environment without crashing.

This is an implementation of Double Deep Q-learning with experience replay trained with 5000 epochs.

Alt Text

Installation

pip install keras gym[all] numpy

Usage

  • main.py is the reinforcement learning agent
    • Run python main.py to start training the agent
    • Set viewOnly = True to load saved neural network weights and render results from trained agent

Notes

  • Trained agent model is saved in the weights/ directory as trained_agent.h5
  • Trained agent result (reward vs episode) is saved in the results/ directory as trained_agent.txt
  • Hyperparameter search results (reward vs episode) is saved in the results/ directory as files in alpha search and gamma search
  • Performance graphs are found in the graphs/ directory

Alt Text Alt Text

lunarlander's People

Contributors

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