Skip to main content

SINNER - Simplest Implementation of Neural Networks for Effortless Runs

Project description

SINNER - Simplest Implementation of Neural Networks for Effortless Runs

I worked with Neural Networks more years ago than I'd like to remember. I'm returning to study "black box models", and I felt that there is no simple way of creating a neural network, and that was a mistake. That's why I've created this Python library.

Creating a new neural network is (and always will be) as simple as NeuralNetwork(list), where list is a list of integers with the number of neurons on every layers (the first one being the input, the last one the output, and the rest the hidden ones). Of course there are and will be optional parameters, but it will always work with a standard view for starters.

Of course "simplest" is not the same as "simplistic", and every aspect of a neural network that makes this implementation more robust is welcome.


Public methods

This list needs to be as short as possible, always. Nowadays we have two methods only:

eval(inputs): eval an array of inputs with current configuration of the neural network.

train(trainingInputs, trainingOutputs): train the network from a set of inputs and outputs


To Do List

  • import/export the neural network
  • add a log system for training outputs
  • create a packaging for PIP
  • add usage examples on Git
  • make transfer functions selectable on creating

The original version of this implementation was loosely based on Jason Brownlee's "How to Code a Neural Network with Backpropagation In Python (from scratch)"


Comments and suggestions, feel free to contact me!

--Friar Hob

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

sinner-friarhob-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

sinner_friarhob-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file sinner-friarhob-0.0.1.tar.gz.

File metadata

  • Download URL: sinner-friarhob-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for sinner-friarhob-0.0.1.tar.gz
Algorithm Hash digest
SHA256 de915a43102698a68b178a1ce0f7b4f06a863e89f498070c8de18cc87040e671
MD5 9a784c6da97dbb207e2bda15bd98a0d1
BLAKE2b-256 4ea791138a53363fc1d01387405118238394131cab243502ae09f5f9bce803b6

See more details on using hashes here.

File details

Details for the file sinner_friarhob-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sinner_friarhob-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for sinner_friarhob-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c0bf5a2d3cd42068bcc03d6641ea47294b81a680b8686b62a997622aa6fc17
MD5 4ce7707b1b6773bec8c7f9f427b557fb
BLAKE2b-256 fec5661cc495ed2f669581291b77768f7183c90b19230c943d1d218e7c18bdc1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page