/cartpole-q-learning

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

Primary LanguagePythonMIT LicenseMIT

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.