DeepLearning Model Builder
Project description
"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.
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 toynn-0.0.9.tar.gz.
File metadata
- Download URL: toynn-0.0.9.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b333d4e7d7a7aa5b9a9f3b84f4c30ead321ab264ddcb2c9b00fb5ec98a00eb
|
|
| MD5 |
c3407899d271bfb7f0c7978fd19f9458
|
|
| BLAKE2b-256 |
cf95bebac6b180636cdfe028473a68f02fda672c7fae9b5d613ea2f51aab4ae1
|
File details
Details for the file toynn-0.0.9-py3-none-any.whl.
File metadata
- Download URL: toynn-0.0.9-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c38a02dca6679b23f074043f617bd445001714448e0f4fc3d032df28146e900f
|
|
| MD5 |
a38c29f553cfa837039c0074b92c2540
|
|
| BLAKE2b-256 |
d6d059f772ad1193e37f1730d568d61b8a8362a62be9197053d11cb76c1859d2
|