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.6.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for bonsai_gym-2.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2e6253f7bc4bafee1064d15fecddeda75421cdddbdaecf050f63a93e57effcd |
|
MD5 | d0e0d9dccfe49edcb63bcf8e890d53d8 |
|
BLAKE2b-256 | 5751811cebff91ddaa59954747d9618c89e25c44f7303c2bc47b306f7a7a79d7 |