BlastPY-1.0.2
توضیحات
a machine learning framework by W̷̛͒i̶̓͗l̷͗̌ľ̶͘
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | BlastPY-1.0.2 |
| نام | BlastPY |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | W̷̛͒i̶̓͗l̷͗̌ľ̶͘ |
| ایمیل نویسنده | epicugric@gmail.com |
| آدرس صفحه اصلی | https://github.com/Ugric/Blast |
| آدرس اینترنتی | https://pypi.org/project/BlastPY/ |
| مجوز | - |
# BlastPY
a machine learning framework by W̷̛͒i̶̓͗l̷͗̌ľ̶͘
# Example
```
from BlastPY.AI import BlastAI
# create AI or load from file
ai = BlastAI("FIRSTAI.dat")
if len(ai.questions) == 0: # check if no questions have been added
# add questions
# [list-of-input-to-AI, list-of-wanted-outputs-from-AI]
ai.appendQuestions([[[0], [0]],
[[1], [1]],
[[2], [2]],
[[3], [6]],
[[4], [8]],
[[5], [10]],
[[6], [30]],
[[7], [44]],
[[8], [51]],
[[9], [56]],
[[10], [56]]
])
while True:
# the AI generation
print(ai.gen)
# examen the AI
print(ai.exam(1000))
# compile the AI to python code
open("compiled.py", "w").write(ai.toPythonCode())
```
# Licence
This project is licensed under the terms of the MIT license.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl BlastPY-1.0.2:
pip install BlastPY-1.0.2.whl
نصب پکیج tar.gz BlastPY-1.0.2:
pip install BlastPY-1.0.2.tar.gz