Skip to main content

A library creating and training AIs with Bonsai BRAIN

Project description

A python library for integrating data sources with Bonsai BRAIN.

Installation

$ pip install bonsai-python

Install the latest stable from PyPI:

$ pip install bonsai-python

Install the latest in-development version:

$ pip install https://github.com/BonsaiAI/bonsai-python

Usage

Subclass either bonsai.Simulator or bonsai.Generator, implementing the necessary required methods.

class MySimulator(bonsai.Simulator):
    # Simulator methods implementations...

Run your simulator with the helper method from bonsai.BrainServerConnection.

$ python3
> import bonsai
> bonsai.run_for_training_or_prediction(
.     "my_simulator", MySimulator())

Note that the schema used by your simulator (or generator), as well as the name used to identify it, should match the schemas and identifier in the corresponding inkling file.

Project details


Release history Release notifications

History Node

0.13.4

History Node

0.13.3

This version
History Node

0.13.2

History Node

0.13.1

History Node

0.13.0

History Node

0.12.1

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.1

History Node

0.10.0

History Node

0.9.0

History Node

0.8.0

History Node

0.7.1

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bonsai_python-0.13.2-py2.py3-none-any.whl (41.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page