OpenAI Gym
OpenAI Gym is an open source Python framework developed by OpenAI, a non-profit AI research company, as a toolkit for developing and evaluating RL algorithms. It gives us a set of test problems, known as environments, that we can write RL algorithms to solve. This enables us to dedicate more of our time to implementing and improving the learning algorithm instead of spending a lot of time simulating the environment. In addition, it provides a medium for people to compare and review the algorithms of others.
OpenAI environments
OpenAI Gym has a collection of environments. At the time of writing this book, the following environments are available:
Classic control and toy text: Small-scale tasks from the RL literature.
Algorithmic: Performs computations such as adding multi-digit numbers and reversing sequences. Most of these tasks require memory, and their difficulty can be changed by varying the sequence length.
Atari: Classic Atari games, with screen images or RAM as input, using...