Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.16 KB

File metadata and controls

68 lines (44 loc) · 1.16 KB

FOM OpenAI Getting Started

Preparation

Install gym

pip install 'gym[all]'

Re-install numpy

pip install --upgrade --force-reinstall numpy

OpenAI docs

Medium Introduction: Reinforcement Learning with OpenAI Gym

01-getting-started-Acrobot-v1.py

  • simple random agent playing Acrobot

02-getting-started-MountainCarContinuous-v0.py

  • simple agent with log output playing MountainCarContinuous

03-getting-started-FrozenLake8x8-v0.py

  • agent playing FrozenLake8x8 using Q-Learning for a fixed number of steps per episode

04-getting-started-FrozenLake8x8-v0-until-done.py

  • agent playing FrozenLake8x8 using Q-Learning until done per episode

REINFORCEMENT LEARNING (DQN) TUTORIAL

05-getting-started-CartPole-v0-dqn.py

  • agent playing CartPole using Deep Q-Learning

06-getting-started-SpaceInvaders-v0-dqn.py

  • agent playing SpaceInvaders using Deep Q-Learning