Question: Write a script in Matlab that constructs the matrix, X = rand ( 1 , 3 ) and vector y = rand ( 1 ,

Write a script in Matlab that constructs the matrix, X = rand(1,3) and vector y = rand(1,1). Construct a 3x2x1 FFNN. Calculate the forward propogation for one instance a sigmoid activation function. Calculate the back-propogation gradient for the cost function, E =1/2*(y- y_pred)^2 at the output layer. knowing e =(y - y_pred). Update your parameters W_h =[w_h_11,w_h_12; w_h_21,w_h_22; w_h_31 w_h_32]

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!