A simple way to make neural nets: Machine learning without linear algebra
Project description
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.
Project details
Release history Release notifications | RSS feed
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 SiNN-0.0.3.tar.gz.
File metadata
- Download URL: SiNN-0.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40f355a6ed5f7753717fb4bd3aa6763d5da6e2c0a3e918ecf474df2ca963059e
|
|
| MD5 |
6899a315c25498ae7d88079f84cfbb0a
|
|
| BLAKE2b-256 |
8f06b6ff9deed112bcbe1686c46a467b4d84be8daf4ad52440f32fc17e57b0d4
|
File details
Details for the file SiNN-0.0.3-py3-none-any.whl.
File metadata
- Download URL: SiNN-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aba63d6270801290d7f527ecc661d836ed0af5d59651a37f8f649c29888c621
|
|
| MD5 |
639ae7a4d20a80756df1682cefbe639b
|
|
| BLAKE2b-256 |
59aaf9892f197f9cee58ea90f5bf79779dce65c5df05a6533d2c3a8eb9cb4f6e
|