Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a 3 - 2 - 1 neural network, in which the input layer is linear, the output layer has a nonlinearity of the form:

Consider a 3-2-1 neural network, in which the input layer is linear, the output layer has a nonlinearity
of the form:
f(x)=e4x1+e4x
and the output of the j th node in the hidden layer is given by a polynomial function of the form:
hat(y)j(1)=wj1x1+wj2x2+wj3x3
for j=1 and 2.
(i) Draw this neural network showing all the neurons. Then, clearly list out all the parameters
of this neural network and the operations at each layer (for l=1 and 2). Use a superscript (l) to denote
the index of the layer, e.g.,wij(l). How many trainable parameters does this neural network have?
(iii) Suppose that a sample (1,1) is given with a label of y=1. Find the backpropagation
update of the weight w12(2) in the output layer using the quadratic cost function:
J(w)=12|y-hat(y)(2)|2
and a step-size of . Your answer may only contain wji's,wkj's,qj's and .
(iv) Suppose that a sample (2,-1) is given with a label of y=0. Find the backpropagation
update of the parameter w13(1) using the same cost function and step-size as in part (ii). Your answer may
only contain wji's, and .

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

Students also viewed these Databases questions