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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bonsai_python-0.13.5-py2.py3-none-any.whl.
File metadata
- Download URL: bonsai_python-0.13.5-py2.py3-none-any.whl
- Upload date:
- Size: 45.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45e7072d9d5f2e7eaa42bdc8c4b0d2b62eec376227b72ddf4982389d5e39041b
|
|
| MD5 |
951250fe141e5324a78a62af6b5de6a6
|
|
| BLAKE2b-256 |
d62cc0b2bfc9f4029ba223ef4b5d52c059e12694c21e2d139fe26d5d0eb3784b
|