Simple Neural Net Module
Install requirement:
pip install numpy
Install module:
pip install SiNN or download module.py from GitHub.
Quick-Start Guide
Import SiNN: import SiNN
Initialize the neural net:
neuralnet = SiNN.NeuralNetwork(3) # 3 is the number of inputs
Create a variable with training set inputs:
ins = array([[1a, 1b, 1c], [2a, 2b, 2c], [3a, 3b, 3c]])
Set the expected outcomes (training set outs):
outs = array([[1,1,0]]).T # don't worry about the .T
Train with neuralnet.train(ins, outs, iters), where iters is the amount of training cycles. A number around 1000 is normally good for simple uses.
Then, see if it works with neuralnet.think([a,b,c]).
Present it with a new situation with neuralnet.think(newsit)
Note: use python 3 with this.
Metadata
Release files for SiNN 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SiNN-0.0.3.tar.gz | 2.5 kB | Without provenance | Details for SiNN-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SiNN-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for SiNN-0.0.3-py3-none-any.whl |
Total release size: 6.1 kB
Release files / SiNN-0.0.3.tar.gz
| Download URL | SiNN-0.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40f355a6ed5f7753717fb4bd3aa6763d5da6e2c0a3e918ecf474df2ca963059e
|
|
BLAKE2b-256 checksum How to use checksums |
8f06b6ff9deed112bcbe1686c46a467b4d84be8daf4ad52440f32fc17e57b0d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / SiNN-0.0.3-py3-none-any.whl
| Download URL | SiNN-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aba63d6270801290d7f527ecc661d836ed0af5d59651a37f8f649c29888c621
|
|
BLAKE2b-256 checksum How to use checksums |
59aaf9892f197f9cee58ea90f5bf79779dce65c5df05a6533d2c3a8eb9cb4f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for SiNN 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.