SlideShare a Scribd company logo
Backpropagation And Gradient Descent In Neural Networks | Neural Network Tutorial | Simplilearn
y
1
y2
y3
x
1
x2
xn
This simple neural network must be trained to recognize
handwritten alphabets ‘a’, ‘b’ and ‘c’
a
b
c
Neural Network
The handwritten alphabets are present as images of 28*28 pixels
y
1
y2
y3
x
1
x2
xn
a
b
c
Neural Network
28
28
The 784 pixels are fed as input to the first layer of our neural
network
y
1
y2
y3
x
1
x2
xn
a
b
c
28*28=784
Neural Network
784
neurons
28
28
The initial prediction is made using the random weights assigned
to each channel
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
28
28*28=784
Neural Network
28
28
Our network predicts the input to be ‘b’ with a probability of 0.5
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.328*28=784
Neural Network
28
The predicted probabilities are compared against the actual
probabilities and the error is calculated
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.328*28=784
0.9
0.0
0.0
actual probabilities
+0.6
-0.5
-0.2
error = actual - prediction
Neural Network
28
The magnitude indicates the amount of change while the sign
indicates an increase or decrease in the weights
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.328*28=784
actual probabilities
error = actual - prediction
Neural Network
0.0
0.0
-0.5
-0.2
28
0.9 +0.6
The information is transmitted back through the network
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.328*28=784
actual probabilities
error = actual - prediction
Neural Network
0.0
0.0
-0.5
-0.2
28
0.9 +0.6
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.6
0.2
0.0
x
1
x2
xn
a
b
c
28*28=784
actual probabilities
+0.3
-0.2
0.0
error = actual - prediction
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
Neural Network
0.0
0.0
28
0.9
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
Neural Network
+0.2
-0.1
0.0
In this manner, we keep training the network with multiple inputs
until it is able to predict with high accuracy
0.7
0.
1
0.0
x
1
x2
xn
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
0.0
0.0
0.9
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
Neural Network
0.0
0.0
0.0
In this manner, we keep training the network with multiple inputs
until it is able to predict with high accuracy
0.9
0.
1
0.0
x
1
x2
xn
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
0.0
0.0
0.9
28
28
1.0
0.0
1.
0
0.0
0.0
Neural Network
0.0
x
1
x2
xn
a
b
c
28*28=784
actual probabilities
0.0
0.0
0.0
error = actual - prediction
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Similarly, our network is trained with the images for ‘b’ and ‘c’ too
Here’s a straightforward dataset. Let’s build a neural network to
predict the outputs, given the inputs
Input Output
0
1
2
3
4
0
6
1
2
1
8
2
4
Example
Input Output
Neural Network
x y
This box
represents our
neural network
x*w
Example
Input Output
Neural Network
x y
‘w’ is the weight
x*w
Example
Input Output
Neural Network
x y
The network starts training
itself by choosing a
random value for w
x*w
Example
Input Output
Neural Network
x y
x*wW=3
Example
Example
Input Output
Neural Network
x y
x*wW=3
Input Output
Neural Network
x y
x*wW=3
Example
Input Output
Neural Network
x y
x*wW=6
Our second model has
w=6
Example
Example
Input Output
Neural Network
x y
x*wW=6
Our second model has
w=6
Input Output
Neural Network
x y
x*wW=6
Example
Input Output
Neural Network
x y
x*wW=9
And finally, our third model
has w=9
Example
Example
Input Output
Neural Network
x y
x*wW=9
And finally, our third model
has w=9
Input Output
Neural Network
x y
x*wW=9
Example
Example
Input Output
Neural Network
x y
x*wW=9
We, as humans, can know just by a look at the data that our weight
should be 6. But how does the machine come to this conclusion?
Loss function
The loss function is a measurement of error which defines the
precision lost on comparing the predicted output to the actual output
loss = [(actual output) – (predicted output)]2
Loss function
Let’s apply the loss
function to input
value “2”
Input Actual Output W=3 W=6 W=9
2 12 6 12 18
---loss (12-6)2 = 36 (12-12)2 = 0 (12-18)2 = 36Los
s
---
Loss function
We now plot a graph
for weight versus loss.
Loss function
This graphical method of
finding the minimum of a
function is called gradient
descent
Gradient descent
A random point on this curve is chosen
and the slope at this point is calculated
Gradient descent
A random point on this curve is chosen
and the slope at this point is calculated
A positive slope indicates an increase in
weight
Gradient descent
This time the slope is negative. Hence,
another random point towards its left is
chosen
A positive slope indicates an increase in
weight
A negative slope indicates a decrease in
weight
Gradient descent
Gradient descent
loss
This time the slope is negative. Hence,
another random point towards its left is
chosen
A positive slope indicates an increase in
weight
A negative slope indicates a decrease in
weight
We continue checking
slopes at various points in
this manner
Our aim is to reach a point where the
slope is zero
A positive slope indicates an increase in
weight
A negative slope indicates a decrease in
weight
A zero slope indicates the appropriate
weight
Gradient descent
Our aim is to reach a point where the
slope is zero
A positive slope indicates an increase in
weight
A negative slope indicates a decrease in
weight
A zero slope indicates the appropriate
weight
Gradient descent
Backpropagation
Backpropagation is the process of updating the weights of the
network in order to reduce the error in prediction
Backpropagation
The magnitude of loss at any point on our graph, combined with
the slope is fed back to the network
backpropagation
Backpropagation
A random point on the graph gives a loss value of 36 with a
positive slope
backpropagation
Backpropagation
A random point on the graph gives a loss value of 36 with a
positive slope
We continue checking
slopes at various points in
this manner
A random point on the graph gives a loss value of 36 with a
positive slope
36 is quite a large number. This means our current weight
needs to change by a large number
A positive slope indicates that the change in weight must
be positive
Backpropagation
A random point on the graph gives a loss value of 36 with a
positive slope
We continue checking
slopes at various points in
this manner
Similarly, another random point on the graph gives a loss value of
10 with a negative slope
10 is a small number. Hence, the weight requires to be
tuned quite less
A negative slope indicates that the weight needs to be
reduced rather than increased
Backpropagation
After multiple iterations of backpropagation, our weights are
assigned the appropriate value
Input Output
x y
x*6
Backpropagation
After multiple iterations of backpropagation, our weights are
assigned the appropriate value
Input Output
x y
x*6
At this point, our network is
trained and can be used to
make predictions
Backpropagation
After multiple iterations of backpropagation, our weights are
assigned the appropriate value
Input Output
x y
x*6
Let’s now get back to our first example and see where backpropagation
and gradient descent fall into place
As mentioned earlier, our predicted output is compared against
the actual output
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
28
28
28*28=784
1.
0
0.0
0.0
actual probabilities
+0.7
-0.5
-0.2
error = actual - prediction
Neural Network
As mentioned earlier, our predicted output is compared against
the actual output
0.3
0.5
0.2
x
1
x2
xn
a
b
c
0.2
0.
8
1.
20.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.3
28
28
28*28=784
1.
0
0.0
0.0
actual probabilities
error = actual - prediction
Neural Network
+0.7
-0.5
-0.2
loss(a)  0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c)  0.22 = 0.04
1st iteration
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.6
0.2
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
+0.4
-0.2
-0.1
error = actual - prediction
0.2
0.
8
1.
30.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.7
Neural Network
1.
0
0.0
0.0
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.6
0.2
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
0.2
0.
8
1.
30.
3
0.
2
0.3
6
0.3
6
1.4
0.9
0.7
Neural Network
1.
0
0.0
0.0
loss(a) 0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c) 0.22 = 0.04
1st iteration 2nd iteration
loss(a) 0.42 = 0.16
loss(b) 0.22 = 0.04
loss(c)  0.12 = 0.01
+0.4
-0.2
-0.1
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.8
0.1
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
+0.2
-0.1
-0.1
error = actual - prediction
0.2
0.
2
1.
20.
3
1.
2
0.6
0.3
6
0.4
0.9
0.3
Neural Network
1.
0
0.0
0.0
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.8
0.1
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
0.2
0.
2
1.
20.
3
1.
2
0.6
0.3
6
0.4
0.9
0.3
Neural Network
1.
0
0.0
0.0
loss(a) 0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c) 0.22 = 0.04
1st iteration 2nd iteration
loss(a) 0.42 = 0.16
loss(b) 0.22 =
0.04
loss(c) 0.12 = 0.01
+0.2
-0.1
-0.1
3rd iteration
loss(a) 0.22 = 0.04
loss(b) 0.12 =
0.01
loss(c) 0.12 =
0.01
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.8
0.1
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
0.2
0.
2
1.
20.
3
1.
2
0.6
0.3
6
0.4
0.9
0.3
Neural Network
1.
0
0.0
0.0
loss(a) 0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c) 0.22 = 0.04
1st iteration 2nd iteration
loss(a) 0.42 = 0.16
loss(b) 0.22 =
0.04
loss(c) 0.12 = 0.01
+0.2
-0.1
-0.1
3rd iteration
loss(a) 0.22 = 0.04
loss(b) 0.12 =
0.01
loss(c) 0.12 =
0.01
Let’s focus on finding the
minimum loss for our
variable ‘a’
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.8
0.1
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
0.2
0.
2
1.
20.
3
1.
2
0.6
0.3
6
0.4
0.9
0.3
Neural Network
1.
0
0.0
0.0
loss(a) 0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c) 0.22 = 0.04
1st iteration 2nd iteration
loss(a) 0.42 = 0.16
loss(b) 0.22 =
0.04
loss(c) 0.12 = 0.01
+0.2
-0.1
-0.1
3rd iteration
loss(a) 0.22 = 0.04
loss(b) 0.12 =
0.01
loss(c) 0.12 =
0.01
Let’s focus on finding the
minimum loss for our
variable ‘a’
Weights through out the network are adjusted in order to reduce
the loss in prediction
0.8
0.1
0.1
x
1
x2
xn
a
b
c
28
28
28*28=784
actual probabilities
error = actual - prediction
0.2
0.
2
1.
20.
3
1.
2
0.6
0.3
6
0.4
0.9
0.3
Neural Network
1.
0
0.0
0.0
loss(a) 0.72 = 0.49
loss(b) 0.52 = 0.25
loss(c) 0.22 = 0.04
1st iteration 2nd iteration
loss(a) 0.42 = 0.16
loss(b) 0.22 =
0.04
loss(c) 0.12 = 0.01
+0.2
-0.1
-0.1
3rd iteration
loss(a) 0.22 = 0.04
loss(b) 0.12 =
0.01
loss(c) 0.12 =
0.01
And here is where gradient
descent comes into the
picture
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
Let’s assume the below to be our graph for the loss of
prediction with variable a as compared to the weights
contributing to it from the second last layer
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
Random points chosen on the graph is now backpropagated
through the network in order to adjust the weights
0.8
0.1
0.1
x
1
x2
xn
a
b
c
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
The network is run once again with the new weights
1.0
0.1
0.1
x
1
x2
xn
a
b
c
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
This process is repeated multiple times till it provides
accurate predictions
1.0
0.1
0.1
x
1
x2
xn
a
b
c
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
This process is repeated multiple times till it provides
accurate predictions
1.0
0.0
0.0
x
1
x2
xn
a
b
c
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Neural Network
weight
loss
0.5
1
0.1
7
0.34
w1 w2 w3
The weights are further adjust to identify ‘b’ and ‘c’ too
0.0
1.0
0.0
x
1
x2
xn
a
b
c
0.4
0.
8
0.
20.
3
0.2
1
0.2
6
0.6
1.0
0.9
1.3
Neural Network
0.0
1.0
0.0
x
1
x2
xn
a
b
c
0.5
0.
8
0.
20.
3
0.2
1
0.2
0.6
1.0
1.9
0.3
The weights are further adjust
to identify ‘b’ and ‘c’ too
Neural Network
0.0
00
1.0
x
1
x2
xn
a
b
c
0.4
0.
3
0.
20.
3
0.2
1
0.2
0.7
0.5
0.9
1.3
The weights are further adjust
to identify ‘b’ and ‘c’ too
Neural Network
0.0
00
1.0
x
1
x2
xn
a
b
c
0.4
0.
3
0.
20.
3
0.2
1
0.7
0.5
0.9
1.3
Thus, through gradient descent
and backpropagation, our
network is completely trained
0.2
Backpropagation And Gradient Descent In Neural Networks | Neural Network Tutorial | Simplilearn

More Related Content

What's hot (20)

Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
NAGUR SHAREEF SHAIK
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Simplilearn
 
Introduction to CNN
Introduction to CNNIntroduction to CNN
Introduction to CNN
Shuai Zhang
 
Convolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its Applications
Kasun Chinthaka Piyarathna
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
Ashray Bhandare
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Simplilearn
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep Learning
Mohamed Loey
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
Tamer Ahmed Farrag, PhD
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
Databricks
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
Ismail El Gayar
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Simplilearn
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
Vignesh Suresh
 
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Simplilearn
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networks
Si Haem
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
Databricks
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
sheetal katkar
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketaki
Ketaki Patwari
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
NikitaRuhela
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
mustafa aadel
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Simplilearn
 
Introduction to CNN
Introduction to CNNIntroduction to CNN
Introduction to CNN
Shuai Zhang
 
Convolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its Applications
Kasun Chinthaka Piyarathna
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
Ashray Bhandare
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Simplilearn
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep Learning
Mohamed Loey
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
Databricks
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Simplilearn
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
Vignesh Suresh
 
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Simplilearn
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networks
Si Haem
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
Databricks
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
sheetal katkar
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketaki
Ketaki Patwari
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
mustafa aadel
 

Similar to Backpropagation And Gradient Descent In Neural Networks | Neural Network Tutorial | Simplilearn (20)

Introduction to PyTorch
Introduction to PyTorchIntroduction to PyTorch
Introduction to PyTorch
Jun Young Park
 
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptxFundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
ArpithaHs3
 
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Universitat Politècnica de Catalunya
 
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
vallepubalaji66
 
Regression
RegressionRegression
Regression
ramyaranjith
 
Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2
Scilab
 
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Universitat Politècnica de Catalunya
 
Mlp trainning algorithm
Mlp trainning algorithmMlp trainning algorithm
Mlp trainning algorithm
Hưng Đặng
 
Understanding Neural Networks: A Deep Dive into AI Learning
Understanding Neural Networks: A Deep Dive into AI LearningUnderstanding Neural Networks: A Deep Dive into AI Learning
Understanding Neural Networks: A Deep Dive into AI Learning
studyandinnovation
 
Chapter3 bp
Chapter3   bpChapter3   bp
Chapter3 bp
kumar tm
 
Neural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learningNeural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learning
Tapas Majumdar
 
A geometrical approach in Linear Programming Problems
A geometrical approach in Linear Programming ProblemsA geometrical approach in Linear Programming Problems
A geometrical approach in Linear Programming Problems
Raja Agrawal
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
tayyaba19799
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
Tigabu Yaya
 
A practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) LearningA practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) Learning
Bruno Gonçalves
 
lec-10-perceptron-upload.pdf
lec-10-perceptron-upload.pdflec-10-perceptron-upload.pdf
lec-10-perceptron-upload.pdf
Antonio Espinosa
 
curve fitting or regression analysis-1.pptx
curve fitting or regression analysis-1.pptxcurve fitting or regression analysis-1.pptx
curve fitting or regression analysis-1.pptx
abelmeketa
 
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Universitat Politècnica de Catalunya
 
Seminar9
Seminar9Seminar9
Seminar9
kim taegong
 
Deep learning simplified
Deep learning simplifiedDeep learning simplified
Deep learning simplified
Lovelyn Rose
 
Introduction to PyTorch
Introduction to PyTorchIntroduction to PyTorch
Introduction to PyTorch
Jun Young Park
 
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptxFundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
Fundamentals of Neural Networks_AhmadMasri_26_06_2024.pptx
ArpithaHs3
 
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Universitat Politècnica de Catalunya
 
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
vallepubalaji66
 
Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2
Scilab
 
Mlp trainning algorithm
Mlp trainning algorithmMlp trainning algorithm
Mlp trainning algorithm
Hưng Đặng
 
Understanding Neural Networks: A Deep Dive into AI Learning
Understanding Neural Networks: A Deep Dive into AI LearningUnderstanding Neural Networks: A Deep Dive into AI Learning
Understanding Neural Networks: A Deep Dive into AI Learning
studyandinnovation
 
Chapter3 bp
Chapter3   bpChapter3   bp
Chapter3 bp
kumar tm
 
Neural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learningNeural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learning
Tapas Majumdar
 
A geometrical approach in Linear Programming Problems
A geometrical approach in Linear Programming ProblemsA geometrical approach in Linear Programming Problems
A geometrical approach in Linear Programming Problems
Raja Agrawal
 
A practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) LearningA practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) Learning
Bruno Gonçalves
 
lec-10-perceptron-upload.pdf
lec-10-perceptron-upload.pdflec-10-perceptron-upload.pdf
lec-10-perceptron-upload.pdf
Antonio Espinosa
 
curve fitting or regression analysis-1.pptx
curve fitting or regression analysis-1.pptxcurve fitting or regression analysis-1.pptx
curve fitting or regression analysis-1.pptx
abelmeketa
 
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Universitat Politècnica de Catalunya
 
Deep learning simplified
Deep learning simplifiedDeep learning simplified
Deep learning simplified
Lovelyn Rose
 
Ad

More from Simplilearn (20)

Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Simplilearn
 
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Simplilearn
 
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Simplilearn
 
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
Simplilearn
 
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
Simplilearn
 
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
Simplilearn
 
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Simplilearn
 
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
Simplilearn
 
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Simplilearn
 
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Simplilearn
 
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Simplilearn
 
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
Simplilearn
 
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Simplilearn
 
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Simplilearn
 
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Simplilearn
 
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Simplilearn
 
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Simplilearn
 
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
Simplilearn
 
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
Simplilearn
 
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
Simplilearn
 
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Simplilearn
 
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
Simplilearn
 
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Simplilearn
 
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Simplilearn
 
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Simplilearn
 
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
Simplilearn
 
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Simplilearn
 
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Simplilearn
 
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Ad

Recently uploaded (20)

STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
 
Critical Thinking and Bias with Jibi Moses
Critical Thinking and Bias with Jibi MosesCritical Thinking and Bias with Jibi Moses
Critical Thinking and Bias with Jibi Moses
Excellence Foundation for South Sudan
 
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup
 
Dashboard Overview in Odoo 18 - Odoo Slides
Dashboard Overview in Odoo 18 - Odoo SlidesDashboard Overview in Odoo 18 - Odoo Slides
Dashboard Overview in Odoo 18 - Odoo Slides
Celine George
 
Exploring Identity Through Colombian Companies
Exploring Identity Through Colombian CompaniesExploring Identity Through Colombian Companies
Exploring Identity Through Colombian Companies
OlgaLeonorTorresSnch
 
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesHow to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
Celine George
 
Odoo 18 Point of Sale PWA - Odoo Slides
Odoo 18 Point of Sale PWA  - Odoo  SlidesOdoo 18 Point of Sale PWA  - Odoo  Slides
Odoo 18 Point of Sale PWA - Odoo Slides
Celine George
 
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
 
Writing Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research CommunityWriting Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research Community
Rishi Bankim Chandra Evening College, Naihati, North 24 Parganas, West Bengal, India
 
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
 
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
RVSPSOA
 
How to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo SlidesHow to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo Slides
Celine George
 
Diana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda - A Wauconda-Based EducatorDiana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda
 
Types of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo SlidesTypes of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo Slides
Celine George
 
How to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time OffHow to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time Off
Celine George
 
Pragya Champion's Chalice 2025 Set , General Quiz
Pragya Champion's Chalice 2025 Set , General QuizPragya Champion's Chalice 2025 Set , General Quiz
Pragya Champion's Chalice 2025 Set , General Quiz
Pragya - UEM Kolkata Quiz Club
 
Uterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managmentUterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managment
Ritu480198
 
Introduction to Online CME for Nurse Practitioners.pdf
Introduction to Online CME for Nurse Practitioners.pdfIntroduction to Online CME for Nurse Practitioners.pdf
Introduction to Online CME for Nurse Practitioners.pdf
CME4Life
 
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
wygalkelceqg
 
State institute of educational technology
State institute of educational technologyState institute of educational technology
State institute of educational technology
vp5806484
 
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
 
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup
 
Dashboard Overview in Odoo 18 - Odoo Slides
Dashboard Overview in Odoo 18 - Odoo SlidesDashboard Overview in Odoo 18 - Odoo Slides
Dashboard Overview in Odoo 18 - Odoo Slides
Celine George
 
Exploring Identity Through Colombian Companies
Exploring Identity Through Colombian CompaniesExploring Identity Through Colombian Companies
Exploring Identity Through Colombian Companies
OlgaLeonorTorresSnch
 
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesHow to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
Celine George
 
Odoo 18 Point of Sale PWA - Odoo Slides
Odoo 18 Point of Sale PWA  - Odoo  SlidesOdoo 18 Point of Sale PWA  - Odoo  Slides
Odoo 18 Point of Sale PWA - Odoo Slides
Celine George
 
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
 
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
 
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
RVSPSOA
 
How to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo SlidesHow to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo Slides
Celine George
 
Diana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda - A Wauconda-Based EducatorDiana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda - A Wauconda-Based Educator
Diana Enriquez Wauconda
 
Types of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo SlidesTypes of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo Slides
Celine George
 
How to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time OffHow to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time Off
Celine George
 
Uterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managmentUterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managment
Ritu480198
 
Introduction to Online CME for Nurse Practitioners.pdf
Introduction to Online CME for Nurse Practitioners.pdfIntroduction to Online CME for Nurse Practitioners.pdf
Introduction to Online CME for Nurse Practitioners.pdf
CME4Life
 
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
wygalkelceqg
 
State institute of educational technology
State institute of educational technologyState institute of educational technology
State institute of educational technology
vp5806484
 

Backpropagation And Gradient Descent In Neural Networks | Neural Network Tutorial | Simplilearn

  • 2. y 1 y2 y3 x 1 x2 xn This simple neural network must be trained to recognize handwritten alphabets ‘a’, ‘b’ and ‘c’ a b c Neural Network
  • 3. The handwritten alphabets are present as images of 28*28 pixels y 1 y2 y3 x 1 x2 xn a b c Neural Network 28 28
  • 4. The 784 pixels are fed as input to the first layer of our neural network y 1 y2 y3 x 1 x2 xn a b c 28*28=784 Neural Network 784 neurons 28 28
  • 5. The initial prediction is made using the random weights assigned to each channel 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 28 28*28=784 Neural Network 28 28
  • 6. Our network predicts the input to be ‘b’ with a probability of 0.5 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.328*28=784 Neural Network 28
  • 7. The predicted probabilities are compared against the actual probabilities and the error is calculated 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.328*28=784 0.9 0.0 0.0 actual probabilities +0.6 -0.5 -0.2 error = actual - prediction Neural Network 28
  • 8. The magnitude indicates the amount of change while the sign indicates an increase or decrease in the weights 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.328*28=784 actual probabilities error = actual - prediction Neural Network 0.0 0.0 -0.5 -0.2 28 0.9 +0.6
  • 9. The information is transmitted back through the network 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.328*28=784 actual probabilities error = actual - prediction Neural Network 0.0 0.0 -0.5 -0.2 28 0.9 +0.6
  • 10. Weights through out the network are adjusted in order to reduce the loss in prediction 0.6 0.2 0.0 x 1 x2 xn a b c 28*28=784 actual probabilities +0.3 -0.2 0.0 error = actual - prediction 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 Neural Network 0.0 0.0 28 0.9
  • 11. a b c 28 28 28*28=784 actual probabilities error = actual - prediction Neural Network +0.2 -0.1 0.0 In this manner, we keep training the network with multiple inputs until it is able to predict with high accuracy 0.7 0. 1 0.0 x 1 x2 xn 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 0.0 0.0 0.9
  • 12. a b c 28 28 28*28=784 actual probabilities error = actual - prediction Neural Network 0.0 0.0 0.0 In this manner, we keep training the network with multiple inputs until it is able to predict with high accuracy 0.9 0. 1 0.0 x 1 x2 xn 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 0.0 0.0 0.9
  • 13. 28 28 1.0 0.0 1. 0 0.0 0.0 Neural Network 0.0 x 1 x2 xn a b c 28*28=784 actual probabilities 0.0 0.0 0.0 error = actual - prediction 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3 Similarly, our network is trained with the images for ‘b’ and ‘c’ too
  • 14. Here’s a straightforward dataset. Let’s build a neural network to predict the outputs, given the inputs Input Output 0 1 2 3 4 0 6 1 2 1 8 2 4 Example
  • 15. Input Output Neural Network x y This box represents our neural network x*w Example
  • 16. Input Output Neural Network x y ‘w’ is the weight x*w Example
  • 17. Input Output Neural Network x y The network starts training itself by choosing a random value for w x*w Example
  • 18. Input Output Neural Network x y x*wW=3 Example
  • 20. Input Output Neural Network x y x*wW=3 Example
  • 21. Input Output Neural Network x y x*wW=6 Our second model has w=6 Example
  • 22. Example Input Output Neural Network x y x*wW=6 Our second model has w=6
  • 23. Input Output Neural Network x y x*wW=6 Example
  • 24. Input Output Neural Network x y x*wW=9 And finally, our third model has w=9 Example
  • 25. Example Input Output Neural Network x y x*wW=9 And finally, our third model has w=9
  • 26. Input Output Neural Network x y x*wW=9 Example
  • 27. Example Input Output Neural Network x y x*wW=9 We, as humans, can know just by a look at the data that our weight should be 6. But how does the machine come to this conclusion?
  • 28. Loss function The loss function is a measurement of error which defines the precision lost on comparing the predicted output to the actual output loss = [(actual output) – (predicted output)]2
  • 29. Loss function Let’s apply the loss function to input value “2” Input Actual Output W=3 W=6 W=9 2 12 6 12 18 ---loss (12-6)2 = 36 (12-12)2 = 0 (12-18)2 = 36Los s ---
  • 30. Loss function We now plot a graph for weight versus loss.
  • 31. Loss function This graphical method of finding the minimum of a function is called gradient descent
  • 33. A random point on this curve is chosen and the slope at this point is calculated Gradient descent
  • 34. A random point on this curve is chosen and the slope at this point is calculated A positive slope indicates an increase in weight Gradient descent
  • 35. This time the slope is negative. Hence, another random point towards its left is chosen A positive slope indicates an increase in weight A negative slope indicates a decrease in weight Gradient descent
  • 36. Gradient descent loss This time the slope is negative. Hence, another random point towards its left is chosen A positive slope indicates an increase in weight A negative slope indicates a decrease in weight We continue checking slopes at various points in this manner
  • 37. Our aim is to reach a point where the slope is zero A positive slope indicates an increase in weight A negative slope indicates a decrease in weight A zero slope indicates the appropriate weight Gradient descent
  • 38. Our aim is to reach a point where the slope is zero A positive slope indicates an increase in weight A negative slope indicates a decrease in weight A zero slope indicates the appropriate weight Gradient descent
  • 39. Backpropagation Backpropagation is the process of updating the weights of the network in order to reduce the error in prediction
  • 40. Backpropagation The magnitude of loss at any point on our graph, combined with the slope is fed back to the network backpropagation
  • 41. Backpropagation A random point on the graph gives a loss value of 36 with a positive slope backpropagation
  • 42. Backpropagation A random point on the graph gives a loss value of 36 with a positive slope We continue checking slopes at various points in this manner A random point on the graph gives a loss value of 36 with a positive slope 36 is quite a large number. This means our current weight needs to change by a large number A positive slope indicates that the change in weight must be positive
  • 43. Backpropagation A random point on the graph gives a loss value of 36 with a positive slope We continue checking slopes at various points in this manner Similarly, another random point on the graph gives a loss value of 10 with a negative slope 10 is a small number. Hence, the weight requires to be tuned quite less A negative slope indicates that the weight needs to be reduced rather than increased
  • 44. Backpropagation After multiple iterations of backpropagation, our weights are assigned the appropriate value Input Output x y x*6
  • 45. Backpropagation After multiple iterations of backpropagation, our weights are assigned the appropriate value Input Output x y x*6 At this point, our network is trained and can be used to make predictions
  • 46. Backpropagation After multiple iterations of backpropagation, our weights are assigned the appropriate value Input Output x y x*6 Let’s now get back to our first example and see where backpropagation and gradient descent fall into place
  • 47. As mentioned earlier, our predicted output is compared against the actual output 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 28 28 28*28=784 1. 0 0.0 0.0 actual probabilities +0.7 -0.5 -0.2 error = actual - prediction Neural Network
  • 48. As mentioned earlier, our predicted output is compared against the actual output 0.3 0.5 0.2 x 1 x2 xn a b c 0.2 0. 8 1. 20. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.3 28 28 28*28=784 1. 0 0.0 0.0 actual probabilities error = actual - prediction Neural Network +0.7 -0.5 -0.2 loss(a)  0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c)  0.22 = 0.04 1st iteration
  • 49. Weights through out the network are adjusted in order to reduce the loss in prediction 0.6 0.2 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities +0.4 -0.2 -0.1 error = actual - prediction 0.2 0. 8 1. 30. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.7 Neural Network 1. 0 0.0 0.0
  • 50. Weights through out the network are adjusted in order to reduce the loss in prediction 0.6 0.2 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities error = actual - prediction 0.2 0. 8 1. 30. 3 0. 2 0.3 6 0.3 6 1.4 0.9 0.7 Neural Network 1. 0 0.0 0.0 loss(a) 0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c) 0.22 = 0.04 1st iteration 2nd iteration loss(a) 0.42 = 0.16 loss(b) 0.22 = 0.04 loss(c)  0.12 = 0.01 +0.4 -0.2 -0.1
  • 51. Weights through out the network are adjusted in order to reduce the loss in prediction 0.8 0.1 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities +0.2 -0.1 -0.1 error = actual - prediction 0.2 0. 2 1. 20. 3 1. 2 0.6 0.3 6 0.4 0.9 0.3 Neural Network 1. 0 0.0 0.0
  • 52. Weights through out the network are adjusted in order to reduce the loss in prediction 0.8 0.1 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities error = actual - prediction 0.2 0. 2 1. 20. 3 1. 2 0.6 0.3 6 0.4 0.9 0.3 Neural Network 1. 0 0.0 0.0 loss(a) 0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c) 0.22 = 0.04 1st iteration 2nd iteration loss(a) 0.42 = 0.16 loss(b) 0.22 = 0.04 loss(c) 0.12 = 0.01 +0.2 -0.1 -0.1 3rd iteration loss(a) 0.22 = 0.04 loss(b) 0.12 = 0.01 loss(c) 0.12 = 0.01
  • 53. Weights through out the network are adjusted in order to reduce the loss in prediction 0.8 0.1 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities error = actual - prediction 0.2 0. 2 1. 20. 3 1. 2 0.6 0.3 6 0.4 0.9 0.3 Neural Network 1. 0 0.0 0.0 loss(a) 0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c) 0.22 = 0.04 1st iteration 2nd iteration loss(a) 0.42 = 0.16 loss(b) 0.22 = 0.04 loss(c) 0.12 = 0.01 +0.2 -0.1 -0.1 3rd iteration loss(a) 0.22 = 0.04 loss(b) 0.12 = 0.01 loss(c) 0.12 = 0.01 Let’s focus on finding the minimum loss for our variable ‘a’
  • 54. Weights through out the network are adjusted in order to reduce the loss in prediction 0.8 0.1 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities error = actual - prediction 0.2 0. 2 1. 20. 3 1. 2 0.6 0.3 6 0.4 0.9 0.3 Neural Network 1. 0 0.0 0.0 loss(a) 0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c) 0.22 = 0.04 1st iteration 2nd iteration loss(a) 0.42 = 0.16 loss(b) 0.22 = 0.04 loss(c) 0.12 = 0.01 +0.2 -0.1 -0.1 3rd iteration loss(a) 0.22 = 0.04 loss(b) 0.12 = 0.01 loss(c) 0.12 = 0.01 Let’s focus on finding the minimum loss for our variable ‘a’
  • 55. Weights through out the network are adjusted in order to reduce the loss in prediction 0.8 0.1 0.1 x 1 x2 xn a b c 28 28 28*28=784 actual probabilities error = actual - prediction 0.2 0. 2 1. 20. 3 1. 2 0.6 0.3 6 0.4 0.9 0.3 Neural Network 1. 0 0.0 0.0 loss(a) 0.72 = 0.49 loss(b) 0.52 = 0.25 loss(c) 0.22 = 0.04 1st iteration 2nd iteration loss(a) 0.42 = 0.16 loss(b) 0.22 = 0.04 loss(c) 0.12 = 0.01 +0.2 -0.1 -0.1 3rd iteration loss(a) 0.22 = 0.04 loss(b) 0.12 = 0.01 loss(c) 0.12 = 0.01 And here is where gradient descent comes into the picture
  • 56. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 Let’s assume the below to be our graph for the loss of prediction with variable a as compared to the weights contributing to it from the second last layer
  • 57. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 Random points chosen on the graph is now backpropagated through the network in order to adjust the weights 0.8 0.1 0.1 x 1 x2 xn a b c 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3
  • 58. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 The network is run once again with the new weights 1.0 0.1 0.1 x 1 x2 xn a b c 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3
  • 59. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 This process is repeated multiple times till it provides accurate predictions 1.0 0.1 0.1 x 1 x2 xn a b c 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3
  • 60. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 This process is repeated multiple times till it provides accurate predictions 1.0 0.0 0.0 x 1 x2 xn a b c 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3
  • 61. Neural Network weight loss 0.5 1 0.1 7 0.34 w1 w2 w3 The weights are further adjust to identify ‘b’ and ‘c’ too 0.0 1.0 0.0 x 1 x2 xn a b c 0.4 0. 8 0. 20. 3 0.2 1 0.2 6 0.6 1.0 0.9 1.3
  • 64. Neural Network 0.0 00 1.0 x 1 x2 xn a b c 0.4 0. 3 0. 20. 3 0.2 1 0.7 0.5 0.9 1.3 Thus, through gradient descent and backpropagation, our network is completely trained 0.2

Editor's Notes