"toynn" is a handy Neral Network model builder.
You'll be able to create a model in the desired structure with a single line of code. Easily train, predict and visualize your model.
"toynn" supports 'export' and 'import' of models in 'json' format.
Simple example for usage is like below.
import toynn
#build a model model = toynn.model.ANN(input_shape=(1, 784), shape = (100, 100, 100, 10), output="softmax", activation=("relu", "relu", "relu")) model.describe()
#train model.train(y= TRAIN_BATCH, t= ANSWER_BATCH, learning_rate=0.001, iteration=1000)
#predict model.predict(x = INPUT)
#export model as a 'json' file to a local directory model.export(directory = "C:\Users.......//", file_name="myModel.json")
#import model from a local directory factory = toynn.factory.factory() model2 = factory.make(directory = "C:\User.....\myModel.json")
=======================================================================
Updates on more types of model such as 'CNN', 'LSTM' is planned. Thanks, and please contact the author via e-mail for any comment.
Metadata
Release files for toynn 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| toynn-0.1.0.tar.gz | 7.9 kB | Without provenance | Details for toynn-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toynn-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for toynn-0.1.0-py3-none-any.whl |
Total release size: 16.0 kB
Release files / toynn-0.1.0.tar.gz
| Download URL | toynn-0.1.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d131fd48985ebd28c8062ef7122565ceb4121a4b7740e97d952239b37783a5f
|
|
BLAKE2b-256 checksum How to use checksums |
4776c237cb0b675e90bafec9582eec1f2ebadb8f305de8e4d13b70276e5192d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0
|
Release files / toynn-0.1.0-py3-none-any.whl
| Download URL | toynn-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d71d50dfb833460dd4193c0e493a12648b291714e2e48300e67539ddbe1b2bd
|
|
BLAKE2b-256 checksum How to use checksums |
2cfbb732d692879a2ae59ff3ebdc5f31ec7732d3030981e138a6b92402ad6467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0
|
Security for toynn 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.