4 Backpropagation Consider the following network with sigmoid activation functions in the hidden and output neurons, and binary cross entropy loss function. Assume we initialize the weights as follows: W11 = 1, W 12 = 0.5, W21 = 0.1, W22 = 0.2, W 13 = 1, W23 = 0.5. The biases for the hidden nodes are initialized as bl = 0.1, 62 = 0.1, and for the the output node is initialized as 63 = 0.5. Backward pass: Calculate the derivative of the loss w.r.t W11. What's the value of the derivative for the initialized weights, input 1 = 0.1, input 2 = 0.2, and label = 1? How do you update W11 using gradient descent, based on the derivative you derived in the previous part and learning rate 7 = 0.1? What is the value of the loss using the updated W1l? How did it change after the update?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

LOSS FUNCTION TO BE USED: Binary Cross Entropy Loss Function

Please do not post the same solution again or post solution copied from Chegg or other online sources. Please do not respond unless you know the solution, it prevents others from providing correct solution

Input 1
W11
Hidden 1
W13
W21
Output
(3)
W12
W23
Input 2
Hidden 2
W22
Transcribed Image Text:Input 1 W11 Hidden 1 W13 W21 Output (3) W12 W23 Input 2 Hidden 2 W22
4 Backpropagation
Consider the following network with sigmoid activation functions in the hidden and output neurons,
and binary cross entropy loss function. Assume we initialize the weights as follows: W11 = 1, W12 =
0.5, W21 = 0.1, W22 = 0.2, W13 = 1, W23 = 0.5. The biases for the hidden nodes are initialized as
bl = 0.1, 62 = 0.1, and for the the output node is initialized as 63 = 0.5.
Backward pass: Calculate the derivative of the loss w.r.t W11. What's the value
of the derivative for the initialized weights, input 1 = 0.1, input 2 = 0.2, and label = 1?
How do you update W11 using gradient descent, based on the derivative you
derived in the previous part and learning rate 7 = 0.1? What is the value of the loss using
the updated W11? How did it change after the update?
Transcribed Image Text:4 Backpropagation Consider the following network with sigmoid activation functions in the hidden and output neurons, and binary cross entropy loss function. Assume we initialize the weights as follows: W11 = 1, W12 = 0.5, W21 = 0.1, W22 = 0.2, W13 = 1, W23 = 0.5. The biases for the hidden nodes are initialized as bl = 0.1, 62 = 0.1, and for the the output node is initialized as 63 = 0.5. Backward pass: Calculate the derivative of the loss w.r.t W11. What's the value of the derivative for the initialized weights, input 1 = 0.1, input 2 = 0.2, and label = 1? How do you update W11 using gradient descent, based on the derivative you derived in the previous part and learning rate 7 = 0.1? What is the value of the loss using the updated W11? How did it change after the update?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 6 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY