×

Search anything:

What is Neural Network and Deep Learning?

Binary Tree book by OpenGenus

Open-Source Internship opportunity by OpenGenus for programmers. Apply now.

Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2. So what exactly is deep learning and neural networks all about?

Let's first see where exactly deep learning lies and then let's explore the core of deep learning that comprises of Artificial Neural Networks.

Deep_Learning_Icons_R5_PNG.jpg

So from the above figure , It's pretty cleared that Deep Learning is the subset of Machine Learning & Artificial Intelligence. Now let's dive into neural networks , so for that first we need to understand a bit of biology.

What is a Neuron?

A neuron is a cell that carries electrical impulses. They are the fundamental units in our brain. Our brain has nearly a 100 billion neurons which are connected with each other. They can transmit signals to long distances and with each other.

300px-Neuron.svg

The artificial neuron is an inspiration taken from the biological version. It consists of mainly these functions:-

  1. Inputs:- It takes in input from other neurons or the given data.
  2. Weights and Biases :- These terms play the central role in artificial neurons. Biases are the minimum value required to fire(pass the information) a neuron . Weights control how much information should it process from the previous neurons.
  3. Activation or Processing Unit:- This unit decides whether to pass the information to the next neurons or not and the quantity of the information. (The information is equivalent to the electrical impulses in our brain). Activation is generally a function that increases the non-linearity.
  4. Outputs:- They send out the output information to the other neurons.

neuron

What is a Artificial Neural Network?

Now we know all about an artificial neuron so let's now look at a artificial neural network which consists of these neurons. The artificial neural networks consists of three parts:-

  1. Input Layer :- The input neurons for the network. This is where the data is fed into.
  2. Hidden Layer :- These is the part where the network learns to process information and map output from input.
  3. Output Layer:- The prediction of our network which can be a single neuron for regression and binary classification or several in number for multi label classification.

neural-network

Each layer can contain several neurons. The number of neurons in hidden layers and the number of hidden layers have to be chosen experimentally , there is no perfect number available.

Why Deep Learning?

deep

So you must be wondering why it's called deep learning, the reason is simple the hidden layers can be from a few in number to several thousands. The network has to be really deep to learn on terabytes and petabytes of data. That's the reason it's called deep learning. The first image below consist of only three hidden layer but the next image is a Google's inception network that consists of several layers.

TB010-Deep-Neural-Network

incep

Why Deep over Machine Learning?

Traditional Machine Leaning algorithms fail to perform better with the increase in data but Deep Learning performs better with increase of data. With the rise of powerful GPU's computation and performance of Deep Learning algorithms have increased by several times. Below there is a figure comparing them both :-

Why-Deep-Learning-1024x742

In Machine Learning hand-coded feature extraction is a must to get good performance and several human hours and labor are wasted for it but Deep Learning doesn't require any feature extraction, it learns by itself.

diff

Applications

  1. Search Engines.
  2. Chatbots.
  3. Image Recognition , Captioning and Segmentation.
  4. New Drug Discovery and Medical Research.
  5. Robotics.
  6. Playing Games like Go, Chess, Dota 2 ,etc.
  7. Recommendation systems.
  8. Speech recognition & Music Generation.

With this article at OpenGenus, you must have the complete idea of Neural Network and Deep Learning.

What is Neural Network and Deep Learning?
Share this