Skip to content

demo code all about reinforcement learning

Notifications You must be signed in to change notification settings

cwilson51/RL-Lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL-Lab

This repository is to store some implementation on basic Reinforcement learning algorithms. The task is to find a solution for LunarLander-v2 gym environment.

Project Detail

Action space covers 4 discrete actions.

  1. Do nothing
  2. fire left engine
  3. fire main engine
  4. fire right engine

Reward for moving from the top of the screen to landing pad and zero speed is about 100..140 points. If lander moves away from landing pad it loses reward back. Episode finishes if the lander crashes or comes to rest, receiving additional -100 or +100 points. Each leg ground contact is +10. Firing main engine is -0.3 points each frame. Solved is 200 points. Landing outside landing pad is possible. Fuel is infinite, so an agent can learn to fly and then land on its first attempt.

Instruction

The model is trained on Google Colab, using tensorflow. In order to run the code locally, you may need to configure your environment.

About

demo code all about reinforcement learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.3%
  • Python 2.7%