Question: Suppose you have a two - layer neural network with 3 hidden neurons, and 1 output neuron. Each hidden neuron accepts 3 - dimensional input,

Suppose you have a two-layer neural network with 3 hidden neurons, and 1 output neuron. Each hidden neuron accepts 3-dimensional input, is tanh-activated with the following form:
hi(x)=tanh(wix) where 1i3.
Next, the output neuron is o(z)=z where z=[z1,z2,z3] with zi being the output of the corresponding hidden neuron hi(x)
Let us initialize wi=[0.1,0.1,0.1] for all hidden neuron. Let's also initialize =[0.0,0.1,0.2]. Note that these notations suggest that wi and are treated as column vectors, i.e.,[0.1,0.1,0.1] is a row vector so [0.1,0.1,0.1] is a column vector.
(1) Calculate the output of the network for the input x=[0,1,1].(10pts)
(2) Update all of the weights using backpropagation given that the desired/target output is 2.0. Use a learning rate of 0.5.(10pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!