Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6 Forward and Backward Propagation (9 marks) Given a neural network f() and a dataset D = {(x, y), (x, y), ..., (x^, y)}

image text in transcribed

6 Forward and Backward Propagation (9 marks) Given a neural network f() and a dataset D = {(x, y), (x, y), ..., (x^, y")} where x is a 2- dimensional vector and y' is a scalar value which represents the target. {w1, W2, ..., wn} are learnable parameters. h represents a linear unit. For example t = hw7+h2w8. The error function for training this neural network is the sum of squared error N E(w)= n=1 (a) Suppose we have a sample x, where x1=0.5, x2=0.6, x3=0.7. The network parameters are W1=2, w2=3 w3=2, w4=1.5 3 W1 x1 m W7 W W3 W8 x2 WA h2 W5/ W6 X3 t w5=3, w6=4 Ww7=6, w8=3 Next, let's suppose the target value y for this example is 4. Write down the forward steps and the prediction error for this given sample. Hint: you need to write down the detailed computational steps. (b) Given the prediction error in the previous question, calculate the gradient of w, namely Jw1 Please also write down all involved derivatives.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Networking A Top-Down Approach

Authors: James Kurose, Keith Ross

7th edition

978-0133594140

More Books

Students also viewed these Computer Network questions

Question

10. What is meant by a feed rate?

Answered: 1 week ago

Question

Identify the most stable compound:

Answered: 1 week ago