iory / cartpole-q-learning

Solve CartPole environment on OpenAI Gym by simple q-learning algorithm

Home Page:https://gym.openai.com/evaluations/eval_f3sGaYm2THy5agmMR49ooQ#reproducibility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cartpole-q-learning

Solve CartPole environment on OpenAI Gym by simple q-learning algorithm

q-learning.PNG

Run

python cartpole.py
  • --episode: direct the episode count
  • --render: render the GUI
  • --monitor: monitor the training process. After the monitoring, you can upload it by --upload

Of course you have to install gym to run. And it works on Python3.

About

Solve CartPole environment on OpenAI Gym by simple q-learning algorithm

https://gym.openai.com/evaluations/eval_f3sGaYm2THy5agmMR49ooQ#reproducibility

License:MIT License


Languages

Language:Python 100.0%