Question: In this problem there are two inputs, x 1 and x 2 , and one output, y . First generate x 1 and x 2

In this problem there are two inputs, x1 and x2, and one output, y. First generate x1 and x2 within the interval [-5,5]. To obtain the training set, calculate y=4*sin(x1)*x1+0.5*x1*x2+3*cos(x2) for some x1 and x2 values. Implement the backpropagation algorithm and plot the total error after each epoch. After the training part, select different x1 and x2 values other than the ones used in the training part to test the network. Test the network with different number of layers and neurons.

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!