Question: 13. Write a short program to execute the Gradient Descent (GD) algorithm as described in class. Recall that the key steps in GD are as

13. Write a short program to execute the Gradient Descent (GD) algorithm as described in class. Recall that the key steps in GD are as follows: X = random x, = X-1 - nVf(x,-1) = Apply GD to approximately solve for the global minimum of the function f(x, y) = 12 3x2 - 6x - y2 + +12y. , You will run (3) sets of experiments using different values for n: (i) n = .1, (ii) n =.01, and (ii) n =.001. Run GD for 500 steps for each experiment; in each case initialize Xo (-10,10] [-10,10). Report the best performance out of 10 trials for each of the different n value cases. Provide some comments and analysis about your results. Please include your (concise) GD code in your assignment write-up
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
