Solve CartPole environment on OpenAI Gym by simple q-learning algorithm
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.