A python library for integrating Bonsai BRAIN with Open AI Gym environments.
Project description
A python library for integrating Bonsai BRAIN with Open AI Gym environments.
Installation
Install the latest stable from PyPI:
$ pip install bonsai-gym
Usage
Once installed, import bonsai_gym in order to access base class GymSimulator, which implements all of the environment-independent Bonsai SDK integrations necessary to train a Bonsai BRAIN to play an OpenAI Gym simulator.
import gym from bonsai_gym import GymSimulator class CartPoleSimulator(GymSimulator): # Perform cartpole-specific integrations here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bonsai-gym-2.0.7.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for bonsai_gym-2.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12bab8b16e2c9898761c53e2d58a4d9f071d624b9b6835177a0675fe7c6ad889 |
|
MD5 | 465e81458b282c4abfd1fee206e3fc38 |
|
BLAKE2b-256 | 649011e66ab11a3ade80de7de7ad7fceefbfde55cb591ace0ab3e883ba09193e |