A python library for integrating Bonsai BRAIN with Open AI Gym environments.
Project description
Bonsai Gym Common
==========
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.
```
==========
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.2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for bonsai_gym-2.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9c2e7552d5e748de368c46c2249b679ac2a77066b6532eb722ba0a89bfba76 |
|
MD5 | 816e28059f49189f9a935406424a70b4 |
|
BLAKE2b-256 | 8308b5050c60db33be2b4c079beef77d50473362bd6fce32ce3744799a65124a |