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 vectors or else the model won't work. Single value expected values can be represented as a 1 element vector ([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, Convolutional Neural Networks 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)

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.5.tar.gz (6.5 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.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycustomnets-0.0.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pycustomnets-0.0.5.tar.gz
Algorithm Hash digest
SHA256 87d6364abfdcc84098e98863bebe4a72ea9d81ad4977bf3c0997afd2ba26b30f
MD5 eeb3a1f33b68c02895037656257a9d63
BLAKE2b-256 cbf043351eeeae7868a51caed60e137d797393f4cdafc6cef208bfcc36289e5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycustomnets-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pycustomnets-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 671a602e3aa1adb0d0fcdeb4e1335015174b404f12b10d76ec03e794c4214b4c
MD5 1f81c3e81c3b0a3f54672eb3986897d3
BLAKE2b-256 53c8050116e0fda20baf012fab505537a9fdd7d288718060368f532f51b5c0d8

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