In this article, I am gonna share the Implementation of Artificial Neural Network(ANN) in Python. So give your few minutes and learn about Artificial neural networks and how to implement ANN in Python.
So, without further ado, let’s get started-
Before moving to the Implementation of Artificial Neural Network in Python, I would like to tell you about the Artificial Neural Network and how it works.
An artificial Neural Network is much similar to the human brain.
The human Brain consist of neurons. These neurons are connected with each other. In the human brain, neuron looks something like this…
As you can see in this image, There are Neuron, Dendrites, and axon.
What do you think?
When you touch the hot surface, how you suddenly remove your hand?. This is the procedure that happens inside you.
When you touch some hot surface. Then automatically your skin sends a signal to the neuron. And then the neuron takes a decision, “Remove your hand”.
So that’s all about the Human Brain. In the same way, Artificial Neural Network works.
Artificial Neural Network has three layers-
- Input Layer.
- Hidden Layer.
- Output Layer.
Let’s see in this image-
In this image, all the circles you are seeing are neurons. Artificial Neural Network is fully connected with these neurons.
Data is passed to the input layer. And then the input layer passed this data to the next layer, which is a hidden layer. The hidden layer performs certain operations. And pass the result to the output layer.
So, this is the basic rough working procedure of an Artificial Neural Network. In these three layers, various computations are performed.
Now Let’s understand each layer in detail.
Click to continue reading...