January 2020
Intermediate to advanced
346 pages
9h 8m
English
To encapsulate the CartPole challenge, we've created a Python class called CartPole. This class is contained in the cart_pole.py file, which is located at https://github.com/PacktPublishing/Hands-On-Genetic-Algorithms-with-Python/blob/master/Chapter10/cart_pole.py.
The class is initialized with an optional random seed and provides the following methods:
Read now
Unlock full access