OpenAI Gym is a Python-based toolkit for the research and development of reinforcement learning algorithms. OpenAI Gym provides more than 700 opensource contributed environments at the time of writing. With OpenAI, you can also create your own environments. The biggest advantage is that OpenAI provides a unified interface for working with these environments, and takes care of running the simulation while you focus on the reinforcement learning algorithms.
The research paper describing OpenAI Gym is available at this link: http://arxiv.org/abs/1606.01540.
You can install OpenAI Gym using the following command:
pip3 install gym
If the above command does not work, then you can find further help with installation at the following link: https://github.com/openai/gym#installation.
- Let us print the number of available environments in OpenAI Gym:
You can follow along...