"OpenAIGym" (Reinforcement Learning Environments)
"OpenAIGym" provides an interface to the Python OpenAI Gym reinforcement learning environments package.
The OpenAI Gym Python package is only officially supported on Linux and macOS platforms. Additionally, several different families of environments are available. Examples on this page use the "Atari" family of environments. This family can be installed from the command line using (additional detailed installation instructions are available here):
$ pip install "gym[atari]"
ExternalEvaluate is used to interface with this Python package. It is up to the user to ensure that ExternalEvaluate is set up with a Python environment with Gym installed. A simple test to ensure that Gym is correctly set up is to run the following:
ExternalEvaluate["Python", "import gym"]
Basic Examples (2)