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-0.0.6.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-0.0.6-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycustomnets-0.0.6.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-0.0.6.tar.gz
Algorithm Hash digest
SHA256 961560f5c0bb3ef7d12632ea76a04262fd42fae1b7fd37b53d053b817d5071a3
MD5 143852aacb02b205eb036bd681178ea9
BLAKE2b-256 dd8c919f44961253691b8c504e7e6beabb4cccd1fb836323673df3eabf4d5b15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycustomnets-0.0.6-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-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f2bc5d4d99d9d9784575034dc7c22058cff2150d746877af7c88f22c3d648bfe
MD5 4f7e36af05139712cfda4c829798acc8
BLAKE2b-256 574d4a611e2280f387d1d6018940e683f8955643d1f3bc23f575db412290eee4

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