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.11.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for bonsai_gym-2.0.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc17e61f0980edb92356f74fc5f50581cb728608e669b0cf06eec64da6db95bb |
|
MD5 | f879ff18812a5ceccea40bb7ec52de00 |
|
BLAKE2b-256 | 8d3019755e236f068b63fb10dcf0f3114bab0e0403d6a07652c24c3e919a780a |