Skip to main content

Neonet is a deep learning tool for building simple to medium sized neural networks, it supports multiple configurations and arguments for training

Project description

Neonet

Neonet is a lightweight deep learning library for building small to medium scale neural networks, with small to medium sized datasets .it supports multiple training configurations, mutiple optimization methods, regularization techniques, and different acttivation functions

Installation

pip install neonet

Getting started

from neonet.nn import NeuralNetwork, TrainArg

Creating a neural network

nn = NeuralNetwork(4, [(16, "LeakyReLU"), (8, "LeakyReLU"), (3, "Softmax")])

Training arguments

  • batch_size
  • learning_rate
  • optimizer
  • regularizer
  • alpha
  • lasso
  • b1 coefficient
  • b2 coefficient
  • epochs
  • use_decay
training_args = TrainArg( 
batch_size=16, 
learning_rate=0.001, 
optimizer="adams_loss", 
loss="MSE", epochs=500, 
logging_steps=100, 
use_decay=True )

to train:

nn.train(X_train, y_train, training_args=training_args, eval_dataset=[X_test, y_test], check_loss=True)

Features

-	Dense neural network architecture
-	Multiple activation functions
-	Mini-batch training
-	Learning rate decay
-	Model evaluation during training
-	Configurable optimizers and regularizers

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

neonet-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

neonet-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file neonet-0.1.1.tar.gz.

File metadata

  • Download URL: neonet-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for neonet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 214770ff73b0c74e17171f4983f776b852c60eb4af71c2bb8aa5634eb861b990
MD5 4c5b0a352b5b7be52acc1ea090b12f40
BLAKE2b-256 735093e52685bb584c8a5e1cf32827da8d18da2d423220275795ffa1c0fed974

See more details on using hashes here.

File details

Details for the file neonet-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: neonet-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for neonet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 696fe778fe0f56c0b59bf6ec5a11556b49afebefc75624d909acb9a67e1cd324
MD5 c5a90973248f4b6562dc9abbdb7d9359
BLAKE2b-256 6366cca444a563a44b34cd556d5ecb522c63e646836f058fbcf904d9c212a319

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