Skip to content

Simple Neural Network in Python with one input layer one output neuron. If the first input is 1, the output should be one. Otherwise the output should be 0.

License

Notifications You must be signed in to change notification settings

Ozzey/Elementary-Neural-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elementary Neural Network

This is a simple neural network in Python with single input layer and output neuron.

This is a perceptron type neural network. (A neural network with no hidden layers is called a perceptron.)

In the train_version.py I train the neural network 10000 iterations. Although it's not directly usable , it can be implemented in other own Neural Network as a fundamental program. This will also help you get a basic understanding of how a neural network can be trained and how neural networks work in general.

The program is written entirely in Python and the only library used is Numpy. The neural network uses Sigmoid funtion (Although it prevents the neural network to get 100% accurate answer.)

What does it do?

A simple implementation program (main.py) of the Neural Network is also available in the repository. The main.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.

About

Simple Neural Network in Python with one input layer one output neuron. If the first input is 1, the output should be one. Otherwise the output should be 0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages