Skip to main content

A Neural Network customization tool

Project description

pycustomnets

This is a little project that I've been working on for a while with the primary goal of gaining a more in depth understanding of deep learning and honing various skills

This is meant to be my version of tensorflow and while its definitely not as good as tensorflow for now, It does have some similar basic functions.

This project is also a package which can be downloaded through pip (however it might not very up to date)

pip install pycustomnets

IMPORTANT NOTE: If you plan on using this, expected values and input values must be arrays or else the model won't work. Single value expected values can be represented as a single element array ([0], [1], etc)

Activation functions

  • Leaky Relu ("lrelu")
  • Relu ("relu")
  • Sigmoid ("sigmoid")
  • Softmax ("softmax")

Error Functions

  • Mean Squared Error ("mse")
  • Cross Entropy ("cross_entropy")
  • Binary Cross Entropy ("b_cross_entropy")

Optimization algorithms

  • Stochastic Gradient Descent ("sgd")
  • ADAM ("adam")

In the future, I hope to add Reinforcement Learning algorithms, transformers and other stuff.

Example usage of pycustomnets can be found in the examples folder:

  • linearfunction: Trains a neural network to mimic a function
  • MNIST_Digits: Trains a neural network to identify handwritten digits from the mnist data base (Network architecture (784, 128, 10) was made similar to example shown in tensorflow demo for comparison purposes)

Convolutional Neural Networks have been added. Example usage coming soon

Better readme coming eventually

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

pycustomnets-1.1.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

pycustomnets-1.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pycustomnets-1.1.0.tar.gz.

File metadata

  • Download URL: pycustomnets-1.1.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pycustomnets-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b8f32f04009558c993199e543107d34708b72b423136a4130f90ba3e977aedde
MD5 0bd7749370774a5e943a2e0f9d18b662
BLAKE2b-256 7cf9c5f0bc70272a62a00bceac22154bd7f5be764d5cd446aa225334356f6943

See more details on using hashes here.

File details

Details for the file pycustomnets-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycustomnets-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pycustomnets-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 372a7fe785e986acafed490741281513d92b56dfee9fc1524da666e701c7a8b1
MD5 f3e1a8b2174a4d1602a759d2d2cca484
BLAKE2b-256 2d63e700f0eb9034d1008b09fadfccc7a5fb3c1ba235311ef92e93d714d8443d

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