DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Implementation of Artificial Neural Network in Python- Step by Step Guide
tut_ml
tut_ml

Posted on

Implementation of Artificial Neural Network in Python- Step by Step Guide

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.

What is an Artificial Neural Network?

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…

Alt Text

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-

  1. Input Layer.
  2. Hidden Layer.
  3. Output Layer.

Let’s see in this image-

Alt Text

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...

Top comments (0)

🌚 Turn on dark mode

πŸ”  Change your default font

πŸ“š Adjust your experience level to see more relevant content

Β 

Head to your account's Settings to do all this and more.