Question: SOLVE part b only.. please write a correct matlab code Given a three - layer perceptron with two inputs ( x 1 and x 2

SOLVE part b only.. please write a correct matlab code
Given a three-layer perceptron with two inputs (x1 and x2), a hidden layer containing two neurons, and an output neuron, you are provided with the initial synaptic weights as follows: w31=0.62,w32=0.55,w41=0.42,w42=-0.17,w53=0.35, and w54=0.81. The learning rate () is set to 0.25. Given that the first input vector is 0,1 with a desired output of 0, and the second input vector is 1,1 with a desired output of 1,
a. calculate the new synaptic weights after completing two iterations of the backpropagation training process. Assume the sigmoid activation function for neurons.
b. create a code that generates a table listing all parameters involved in the computation for both iterations. These parameters include the input to neurons (v3,v4,v5), output of neurons (y3,y4,y5), error at the output neuron (e5), error signals for gradient descent (5,3,4), and all six weights (w31,w32,w41,w42,w53,w54).
W21
 SOLVE part b only.. please write a correct matlab code Given

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 Databases Questions!