A simple, Open source ML library.
Project description
A simple ML library.
class Brain:
"""
A brain. An Artificial intelligence (AI)'s data and runner.
Data: First argument in __init__(), Data is for the training data key/values
Threshold: Second argument in __init(), Threshold is for the percentage of which the AI finds
That the data is simular enough to the input string of which it is accepted
NOTE: This only works with strings now.
"""
def __init__(self, data: dict or None, threshold: float):
"""
Initializes a new brain.
"""
def forward(self, data: str) -> str:
"""
Gives a string for the Artificial intelligence (AI) to process.
"""
As you can see, This is just the way the brain is organized.
You can only just use this, and you would have A good time.
But for quickly loading the brain. By quickly
I mean without having to load the file yourself with "open()"
You can actually just use load(filename, threshold), and save(ai, threshold).
Note that load and save just save with json.
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
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 open_py_ml-0.0.3.tar.gz.
File metadata
- Download URL: open_py_ml-0.0.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
138a2bb9e4693fa3b610cd9b96fb8c832a966a50ea72db17c2a8788601827ffa
|
|
| MD5 |
f4d1dbb9c4a7a2f8f546ad2d259551c4
|
|
| BLAKE2b-256 |
33b229e0b1eb5e028370f5d0c1dd7f643904a17607006f26b7d7206bcbc4b235
|
File details
Details for the file open_py_ml-0.0.3-py3-none-any.whl.
File metadata
- Download URL: open_py_ml-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c00044ea46c4b43083115b5ad42d946e6bc984ffc58466057087073ea70deac8
|
|
| MD5 |
1b6377b0f26c4fdf0fe1787f9de808df
|
|
| BLAKE2b-256 |
fe37a4ed896b22a93dd0bd2ed2d9bfadefccd987da0b55d9b922bb8cdf51ed14
|