Skip to main content

"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)

Source distribution for toynn 0.1.0
File Size Uploaded
toynn-0.1.0.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toynn 0.1.0
File Interpreter ABI Platform
toynn-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page