Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mempirate/simple-neural-network
Creating a simple neural network in Python with one input layer (3 inputs) and one output neuron.
https://github.com/mempirate/simple-neural-network
deep-learning deep-neural-networks deeplearning neural-network neurons
Last synced: 7 days ago
JSON representation
Creating a simple neural network in Python with one input layer (3 inputs) and one output neuron.
- Host: GitHub
- URL: https://github.com/mempirate/simple-neural-network
- Owner: mempirate
- Created: 2018-03-27T15:29:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T13:05:46.000Z (over 6 years ago)
- Last Synced: 2024-12-07T21:00:58.414Z (18 days ago)
- Topics: deep-learning, deep-neural-networks, deeplearning, neural-network, neurons
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 179
- Watchers: 13
- Forks: 96
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Neural Network
Creating a simple neural network in Python with one input layer (3 inputs) and one output neuron. A neural network with no hidden layers is called a perceptron. In the training_version.py I train the neural network in the clearest way possible, but it's not really useable. The outputs of the training can be found in outputs.txt .
neural_network.py is an object and can be used by giving in different inputs.Thanks to Milo Spencer-Harber for this: https://medium.com/technology-invention-and-more/how-to-build-a-simple-neural-network-in-9-lines-of-python-code-cc8f23647ca1
And to Andrew Trask for this: https://iamtrask.github.io/2015/07/12/basic-python-network/
## What does it do?
The neural_net.py tries to predict the output given 3 binary inputs. If the first input is 1, the output should be one. Otherwise the output should be 0.