CartPole, also known as inverted pendulum, is a game in which you try to balance the pole as long as possible. It is assumed that at the tip of the pole, there is an object which makes it unstable and very likely to fall over. The goal of this task is to move the cart left and right so that the pole can stand (within a certain angle) as long as possible.
. https://arxiv.org/pdf/1312.5602.pdf . https://web.stanford.edu/class/psych209/Readings/SuttonBartoIPRLBook2ndEd.pdf . https://blog.tensorflow.org/2018/07/deep-reinforcement-learning-keras-eager-execution.html