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.13.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for bonsai_gym-2.0.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eea1d283b2dd6141bb635080c0d7a92fd3ef49f6304fb7c2fbaa1ca8ce9bad8 |
|
MD5 | bd1421db63e7bdb4305bcbae0d2c0827 |
|
BLAKE2b-256 | 4d06fc63f5746221bd1f9ebb7f98b8998693cf3c3677bb3b9c37486c6dce6b14 |