0% found this document useful (0 votes)
2 views

Lecture 16

Uploaded by

adnanriaz2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lecture 16

Uploaded by

adnanriaz2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Backpropagation

Backpropagation
Examples of Backpropagation
Algorithm
Steps for backpropagation

•Calculate the error – How far is your model output from the
actual output.
•Minimum Error – Check whether the error is minimized or
not.
•Update the parameters – If the error is huge then, update the
parameters (weights and biases). After that again check the
error. Repeat the process until the error becomes minimum.
•Model is ready to make a prediction – Once the error
becomes minimum, you can feed some inputs to your model
and it will produce the output.
Example
Cont….

The above network contains the following:


•two inputs
•two hidden neurons
•two output neurons
•two biases
Below are the steps involved in Backpropagation:
•Step – 1: Forward Propagation
•Step – 2: Backward Propagation
•Step – 3: Putting all the values together and calculating
the updated weight value
Step – 1: Forward Propagation
Output layer
Find value of Error
Step – 2: Backward Propagation

Now, we will propagate backwards. This way we will try to


reduce the error by changing the values of weights and
biases.

Consider W5, we will calculate the rate of change of error w.r.t


change in weight W5
Cont…
Cont…
Cont….
Step – 3: Putting all the values together and
calculating the updated weight value

You might also like