Skip to main content

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.

#current issues

  • 'batch_normalization'
  • 'dropout'
  • official documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toynn-0.0.4.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toynn-0.0.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file toynn-0.0.4.tar.gz.

File metadata

  • Download URL: toynn-0.0.4.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

Hashes for toynn-0.0.4.tar.gz
Algorithm Hash digest
SHA256 edb635a7b79e795d1b871eddb9728f94219f0fff30c4ed08f00e8c77d99db0c4
MD5 1e4777968392391e00683cd491d4cf9d
BLAKE2b-256 bb964a22b544619fd13989fb2a7b3b8ddeae6a8dc977c7b56e2073f1905da430

See more details on using hashes here.

File details

Details for the file toynn-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: toynn-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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

Hashes for toynn-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a40abb32dbc3593ef673e4f6107c770ff0de8947199483ce231709dd01ae1562
MD5 9ac3028b40fd8778efd23c5d0eb29b54
BLAKE2b-256 b42f10b61bc3b270723362247ebb06ef8d6a068df2b964f0e4a766556899d05d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page