• Articles
  • Tutorials
  • Interview Questions

Deep Learning Tutorial: What is Deep Learning?

Deep Learning Tutorial: What is Deep Learning?

Understanding Deep Learning

Deep Learning is largely responsible for today’s growth of Artificial Intelligence.

In this Deep Learning tutorial, we will start off by looking at its supersets of it. So, Deep Learning is the subspace of Machine Learning, and Machine Learning is the subspace of Artificial Intelligence. So, the hierarchy departs in a way as manifested in the image below.

This image will help you have a clear picture of the terms in your mind to understand the concepts, thoroughly.

Now, in this Deep Learning tutorial, we will comprehensively understand ‘what is Artificial Intelligence?’ and look at the subsets of it.

Artificial Intelligence and Subsets of Artificial Intelligence

Artificial Intelligence (AI): It is a field of computer science, where machines are capable of performing tasks that human beings do. An example of this could be the robots used in industries for cutting, welding, painting, etc. These robots are able to perform tasks that are generally performed by human beings. One thing to remember is that Machine Learning and Deep Learning are the subsets of Artificial Intelligence.

Thus, AI goes one step further deep to Machine Learning.

What is Machine Learning (ML)?

In ML, we have a set of machine learning algorithms designed in such a way that it gives a machine the ability to make decisions. It learns from a given dataset and makes decisions according to what it grasps. An example of this is a computer chess game, where the software learns from playing multiple games.

Youtube subscribe

What is Deep Learning (DL)?     

In DL, algorithms are designed such that their intellectual capabilities closely resemble human intellectual capability. It is done with the help of the beautiful concept called ANN (Artificial Neural Network) which got inspired by human’s BNN (Biological Neural Network). Examples of this are speech recognition and image processing which are used for detecting traffic errors.

Now, these are the general terms which we will focus in this Deep Learning tutorial

So, going ahead in this Deep Learning tutorial, we will look at the categories of Artificial Intelligence.

Artificial Intelligence and Categories of Artificial Intelligence

What is Artificial Intelligence?

Artificial Intelligence is the domain of building smart machines and training them such that they are as efficient as human beings doing a certain task. It is like making a machine intelligent by giving it the potential for decision-making.

Now, let’s look at the categories of AI.

There are numerous opportunities if you master Artificial intelligence. Enroll in our Artificial Intelligence online course and master the AI skill from experts.

Categories of Artificial Intelligence

Weak Artificial Intelligence: It is a type of Artificial Intelligence where the programs pretend to give human-like experience, but in actual they have a well-defined response according to the inputs and they act accordingly. They are likely to be bound by the set of rules that we provide them and they act within the boundary of those rules.

Example: If a robot is told to play a song by Michael Jackson. It will catch the words ‘Michael Jackson’, ‘play’, and ‘song’ and will start playing the song. It will not grasp or know the meaning of what instruction we are giving. They are specifically programmed. Robots used in the manufacturing industry also involve weak Artificial Intelligence.

Weak Artificial Intelligence

Strong Artificial Intelligence: The motive behind using this term is to achieve compatibility and potentiality of programs to the point where the machine’s mental reach is equal to that of a human being. But, it is on a conceptual phase; we are still far behind to achieve the perfection to make the machines equivalent to human beings. Machine Learning and Deep Learning come under the category of strong Artificial Intelligence.

Watch this Artificial Intelligence video tutorial for Beginners:

Youtube subscribe

Example: Speech recognition, visual perception, and language translation are examples well defined by strong Artificial Intelligence. Like in visual perception, if a machine visualizes a number plate of a car crossing a red signal, it immediately tries to identify the person by searching for the owner of the car, using the number plate it has captured. Since it requires decision-making and it has to work on many tasks such as capturing the image, image processing, i.e., reading the number plate, searching for the owner, and then identifying them, it comes under the category of strong Artificial Intelligence.

Strong Artificial Intelligence

Are you interested in learning Artificial Intelligence from experts? Enroll in our Artificial Intelligence Course in Bangalore now!

Now, moving forward in this Deep Learning tutorial, we will understand ‘what is Machine Learning?’ and look at its types.

Certification in Bigdata Analytics

Machine Learning and Its Types

What is Machine Learning?

Supervised: In Supervised Learning, the machine gets trained on a specific dataset. This specific dataset is one that has input and output parameters. The output is already tagged with the correct answer. After that, the machine is given a new dataset so that the supervised learning algorithm analyzes the data and produces a correct outcome from the labeled data. It works under supervision.

The below diagram shows a demonstration of Supervised Machine Learning.

Supervised Learning

Want to become a Machine Learning expert? Enroll in our Machine Learning Course in collaboration with IIT Madras

Now, the model is trained on a specific dataset and tries to make predictions.

Supervised Learning

Unsupervised: In Unsupervised Learning, the machine is trained in such a way that it allows the algorithm to learn by itself without any supervision. Unlike Supervised Learning, it does not have labeled data.

In this type of learning, there is no pre-learning and the machine has to uncover the structure and patterns all by itself.

Unsupervised Learning

After the identification of objects, the model makes clusters of similar objects.

Unsupervised Learning

Reinforcement Learning: In Reinforcement Learning, the algorithm tries to find the best possible way to complete a task for better results. So, basically, it works on the principle of rewards and punishment which will be clearer in the below-mentioned example.

Interested to learn Machine Learning Skills? Enroll for the Machine Learning Training in Noida Now!

Consider a scenario where a car has to start its journey from the initial point of a maze and it has to reach the destination. It will start its journey, and after a few turns when it finds a dead-end it gets a score of −10 as a penalty. Then, it comes back again and starts the journey. Then, after a few turns when it goes the second way, it again finds a dead end and gets a score of −10 as a punishment. The third time, it goes and finds an open way to the destination and scores +10 as a reward. So, from its experience, it learned that it has to go the way which has a fewer number of penalties or we can say that it has to find an optimal path.

Reinforcement Learning

Now, that we have understood Machine Learning and its types, it is finally time to focus on the main topic of this Deep Learning tutorial. So, let’s go ahead and understand ‘what is Deep Learning?’

Read our detailed blog on Deep Learning Interview Questions that will help you to crack your next job interview.

What is Deep Learning?

Deep Learning is the subspace of Machine Learning which works in a progressive manner by having a layered architecture. It has an input layer, a hidden layer, and an output layer.

For example, to recognize an image, different layers will work on that image. The layers will work differently on different features of the image, such as brightness or color, edges, and other features. Here, in the diagram given below, different hidden layers work on different parts of the image for identification, and finally, it will combine the parts to form objects for identification.

So, for Deep Learning to be successful and efficient, there should be an ample amount of data. One of the leaders of the Google Brain project said, ‘The analogy to Deep Learning is that the rocket engine is the Deep Learning model and the fuel is the huge amounts of data we can feed to these algorithms.’ So basically, the key point is that Deep Learning algorithms are designed in such a way that they try to grasp high-level data, layer by layer.

One of the differences between Machine Learning and Deep Learning which makes the picture clear is that DL algorithms are inclined toward the end-to-end problem-solving approach. Deep Learning uses Artificial Neural Network which is a concept inspired by Biological Neural Network.

Deep Learning

Now that we know ‘what is Deep Learning?’, let’s go forward in this Deep Learning tutorial and understand the working of biological neural networks and artificial neural networks.

Neural Networks and Deep Learning go hand-in-hand. So, to answer the question ‘what is Deep Learning?’- It is the implementation of intelligent algorithms using artificial neural networks.

Check out this Advanced Computer Vision and Deep Learning course to enhance your Knowledge!

Biological Neural Networks and Artificial Neural Networks

Biological Neural Network: Our brain contains a large number of neurons. Neurons are nerve cells and are the basic building block of the central nervous system. These are specialized cells designed to trigger or energize other cells in the body to communicate. Neurons are excitable, which means that they function using electrical stimulations. Neurons are interconnected at points called synapses.

Biological Neural Networks and Artificial Neural Networks

When a nerve impulse reaches the synapse at the end of a neuron, it cannot pass directly to the next one. Instead, synapse helps in triggering the neuron to release a chemical neurotransmitter. The neurotransmitter drifts across the gap between the two neurons. On reaching the other side, it fits into a tailor-made receptor on the surface of the target neuron, like a key in a lock. This docking process converts the chemical signal back into an electrical nerve impulse.

Interested in learning Artificial Intelligence? Check out the Artificial Intelligence Training in Sydney!

How does BNN work?

The human brain is composed of billions of neurons. They are further connected by axons to other cells for communication. There are dendrites, which accept the data from the outside world. The input is accepted by dendrites and they carry an electrical impulse to the nucleus of the neuron which is also called soma. Then, this impulse is passed on to the axon after further processing. Axon helps carry the impulse from the nucleus of a neuron to the synapse of it.

How does BNN work?

Now Artificial Neural Networks work in exactly the same fashion:

These are the analogous terms:

Neuron -> Perceptron or node

Axon -> Links

Dendrites -> Acceptor algorithms that a perceptron contains

Moving ahead in this Deep Learning tutorial, let’s look at the layers in Artificial Neural Network.

Learn more about Artificial Intelligence from this Artificial Intelligence Training in New York to get ahead in your career!

Layers in Artificial Neural Network

  • Input Layer
  • Hidden Layer
  • Output Layer
Deep Neural Network

Deep Learning Tutorial: Functions of Individual Layers

Input Layer: The input node provides data from external sources to the network. It does not perform any computation. It simply passes the input data to the hidden layer.

Hidden Layer or Deep Neural Network: The collection of hidden artificial neurons makes the hidden layer. The computation and all the processing is done in the hidden layer, and it passes the output to the output layer. It constitutes multiple layers in it.

Output Layer: Output Layer is used for computation and delivering information from the network to the outside world.

Now, to move ahead with ANN in Deep Learning, you must know more about perceptron.

Perceptron is a Machine Learning algorithm used in Deep Learning that gives neurons the learning experience to give classified outputs. It uses binary classifiers for classified outputs which is a function that can decide whether an input belongs to some specific class. In other words, we can say that it is an artificial neuron.

Perceptron Model

In ANN, the nodes or perceptron mimic a biological neuron. ANN has a densely interconnected set of nodes. These nodes are constructed in such a way that it takes an input and produces the output. These nodes are connected by links, and they interact with each other with the help of these links. Nodes take the input data, and after processing, they pass the result to the subsequent nodes.

The links are associated with weights, which is basically a real number. Now, these weights are initialized randomly, and hence there could be a large difference between the actual values and predicted values. So, there are greater chances of having errors.

Perceptron classifier

Learn end-to-end AI concepts through the Artificial Intelligence Course in Hyderabad to take your career to a whole new level!

If the weight that is assigned to the input after processing is found to be irrelevant (that is, it does not seem to give the desired output), we go back and update the current value with the weight of the data so that we get the desired output.

There is another term ‘bias’, which is used to decide when to trigger the activation function. Whereas, weight is used to decide how fast the triggering of the activation function will happen. The below diagram shows how the weight is updated.

Now, let’s understand the activation function properly.

Activation Function: First of all, in ANN, the input is always linear, that is, it can be represented in the form of a straight line. The activation function applies the function on the input received by the layer and converts the input from linear to non-linear to get the output of that layer and then feeds it as an input to the next layer.

Get ready for the high-paying Artificial Intelligence jobs with these Top Artificial Intelligence Interview Questions and Answers!

Why is the activation function needed for the conversion of the input from linear to non-linear?

In the real world, the data is not 2-dimensional. A 2-dimensional data is linear and can be plotted in an XY-plane. For example, let’s say if, X-axis represents speed and Y-axis represents distance travelled by car. But, there are a lot more factors to be considered about the car, which cannot be represented with a 2D plane.

Since we have multiple factors, we need something to work with this non-linear data. This is where we need activation functions. The activation function does the non-linear transformation to the input making it capable to learn and perform more complex tasks.

Go through this Artificial Intelligence Course in London to get a clear understanding of Artificial Intelligence!

Become an Artificial Intelligence Engineer

In a nutshell, these are the steps involved in ANN:

  • First, Input is given to the input layer and the input layer passes it to the hidden layer.
  • In the hidden layer, the input is initially assigned with random weights and biases and further updated until it reaches the stage where the error is the least and gives the desired output.
  • Then, it is passed to the activation function which converts the linear data to the non-linear data.
  • Finally, it gives the output at the output layer.

In the coming years, Artificial Intelligence will have a great impact on us as it will occupy a space in each device, we use making them smart as human beings. This will happen with steady evolution and more advanced research in the field of Deep Learning.

So, this brings us to the end of this Deep Learning tutorial. We hope that you comprehensively understand ‘what is Deep Learning?’

Visit our Artificial Intelligence Community to get answers to all your queries!

Course Schedule

Name Date Details
Machine Learning Course 15 Jun 2024(Sat-Sun) Weekend Batch
View Details
Machine Learning Course 22 Jun 2024(Sat-Sun) Weekend Batch
View Details
Machine Learning Course 29 Jun 2024(Sat-Sun) Weekend Batch
View Details

About the Author

Senior Research Analyst

As a Senior Research Analyst, Arya Karn brings expertise in crafting compelling technical content in Data Science and Machine Learning. With extensive knowledge in AI/ML, NLP, DBMS, and Generative AI, his works get lakhs of views across social platforms that benefit both technical and business spheres.