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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycustomnets-1.0.0.tar.gz.
File metadata
- Download URL: pycustomnets-1.0.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cec1721a3377a5ebf29b5b4064ee055badc73e6c0b411826d691c2942dca91b
|
|
| MD5 |
6ad2e1a20a033bc4e9e34e78d7e2b8b2
|
|
| BLAKE2b-256 |
551235d9a21a4431a9157322919060a63dbc06d9ad38aa60dd9c93a1d7975d8f
|
File details
Details for the file pycustomnets-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pycustomnets-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1ed33e8c4079fb3ac5323043b3186e3caaf3c3a092c2b5850593bfbc03aedef
|
|
| MD5 |
ee61500b35c27f8077f1a37f4f9ee3ab
|
|
| BLAKE2b-256 |
0515643c093538df7ffa2b1de253eec41504bd0a43d86420e0aa6b71b87c603e
|