Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SiNN-0.0.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SiNN-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for SiNN-0.0.3.tar.gz
Algorithm Hash digest
SHA256 40f355a6ed5f7753717fb4bd3aa6763d5da6e2c0a3e918ecf474df2ca963059e
MD5 6899a315c25498ae7d88079f84cfbb0a
BLAKE2b-256 8f06b6ff9deed112bcbe1686c46a467b4d84be8daf4ad52440f32fc17e57b0d4

See more details on using hashes here.

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

Hashes for SiNN-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0aba63d6270801290d7f527ecc661d836ed0af5d59651a37f8f649c29888c621
MD5 639ae7a4d20a80756df1682cefbe639b
BLAKE2b-256 59aaf9892f197f9cee58ea90f5bf79779dce65c5df05a6533d2c3a8eb9cb4f6e

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