bonsai-python-0.9.0
توضیحات
A library creating and training AIs with Bonsai BRAIN
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bonsai-python-0.9.0 |
| نام | bonsai-python |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bonsai Engineering |
| ایمیل نویسنده | opensource@bons.ai |
| آدرس صفحه اصلی | http://github.com/BonsaiAI/bonsai-python |
| آدرس اینترنتی | https://pypi.org/project/bonsai-python/ |
| مجوز | BSD |
Bonsai SDK
==========
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.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.3.0 | bonsai-config |
| ==3.1.1 | futures |
| <4,>=3.0.0 | protobuf |
| >=1.10.0 | six |
| >=4.5.0 | tornado |
| >=0.40.0 | websocket-client |
| >=1.6.3 | grpcio |
نحوه نصب
نصب پکیج whl bonsai-python-0.9.0:
pip install bonsai-python-0.9.0.whl
نصب پکیج tar.gz bonsai-python-0.9.0:
pip install bonsai-python-0.9.0.tar.gz