6 Forward and Backward Propagation (9 marks) Given a neural network f() and a dataset D...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Posted Date:
Students also viewed these computer network questions
-
Discuss examples of products that are designed to lower shipping and storage cost. How does their design support this goal? What sort of metrics are used to gauge how effectively the products...
-
Give Correct ANSWERS Human-Computer Interaction (a) If you had been one of the original inventors of the WIMP interface, and engineers on the technical team had been sceptical about the advantages...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
After attending a seminar on measuring customer profitability, Mason Ford decided to examine Olson Optics' customers to determine if the company truly knew how profitable its customers were. Olson...
-
What factors enter into the choice of a value for the smoothing constant in exponential smoothing?
-
Explain what is meant by the project manager having credibility.
-
CPA Question: Hamilton Corp. makes a $4.5 million securities offering under Rule 505 of Regulation D of the Securities Act of 1933. Under this regulation, Hamilton is: (a) Required to provide full...
-
Presented below are two independent situations. (a) On January 6, Brumbaugh Co. sells merchandise on account to Pryor Inc. for $7,000, terms 2/10, n/30. On January 16, Pryor Inc. pays the amount due....
-
An honest look at the personal finance crisis How does hearing White's essay piece that she reads at the start of her talk make you feel? Does it resonate at all with you? Do you know anyone that it...
-
Objectives WORK AND ENERGY 1) To determine the ideal mechanical advantage of an inclined plane. 2) To determine the work necessary to move a weight up an inclined plane. Required Equipment and...
-
Does culture matter? What impacts does it have on virtual teams?
-
3. UML Sequence diagram A - Consider the following flow of event of a use case : Process Sale Scenario : 1. Cashier starts new sale 2. Cashier enters item identifier 3. System records sale line item...
-
A ball of radius 10 has a round hole of radius 8 drilled through its center. Find the volume of the resulting solid. > Next Question
-
In a cattle farm, animal urine is decanted into a concrete storage tank, which is open to atmosphere. The storage tank occasionally receives rainwater, which is buffered with animal urine to pH =...
-
Paynesville Corporation manufactures and sells a preservative used in food and drug manufacturing. The company carries no inventories. The master budget calls for the company to manufactures and sell...
-
Draw the logic gate symbol for a 4-input AND gate. Write the Boolean function and truth table. [20] Deduce the Right-hand side of three variable DeMorgan's theorem shown below using Boolean axioms...
-
How do network effects help Facebook fend off smaller social-networking rivals? Could an online retailer doing half as much business compete on an equal footing with Amazon in terms of costs? Explain.
-
A forensic account determines the following facts about a company: Cash and equivalents. \(\$ 76,000\) Receivables 218,000 Current assets. 420,000 Current liabilities 240,000 Average inventory...
-
Define these terms: a. Cooking the books b. Cookie jar accounting c. Bottom line d. EBIT e. EBITDA f. Off-balance-sheet financing g. Channel stuffing h. Bid rigging i. Big bath
-
Which statement is false with respect to SAS No. 99 ? a. SAS No. 99 supersedes SAS No. 82. b. An audit procedure to address the risk of management override would include examining journal entries and...
Study smarter with the SolutionInn App