Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. (25 points) Consider two functions fix. y) = (x y + xy f(r,y) = (1 - (y - 4) +35[(x +6) (-4)2,2 (a) Run

image text in transcribed

image text in transcribed

Q2. (25 points) Consider two functions fix. y) = (x y + xy f(r,y) = (1 - (y - 4) +35[(x +6) (-4)2,2 (a) Run gradient descent on fi with starting point (r.y) = (2.3). T = 20 steps and n = 15. Report the function value at the end of each step (b) Run gradient descent on f2 with starting point (x,y) = (0.2). T = 100 steps and n = .0015. Report the function value at the end of each step (c) Run any variant of gradient descent you want for f1. Try to get the smallest funetion value after T = 20 steps (d) Run any variant of gradient descent you want for 12. Try to get the smallest function value after T = 100 steps Q2. [25 points) Consider two functions fi(x,y) = (1 ) + ry f2(,y) = (1 - y - 4) + 35(la +6) - (y - 4)2) (a) Run gradient descent on fi with starting point (cy) = (2,3), T = 20 steps and y = .05, Report the function value at the end of each step (b) Run gradient descent on f2 with starting point (x,y) = (0,2), T = 100 steps and 7 = .0015. Report the function value at the end of each step (c) Run any variant of gradient descent you want for /1. Try to get the smallest function value after T = 20 steps (d) Run any variant of gradient descent you want for 12. Try to get the smallest function value after T = 100 steps Q2. (25 points) Consider two functions fix. y) = (x y + xy f(r,y) = (1 - (y - 4) +35[(x +6) (-4)2,2 (a) Run gradient descent on fi with starting point (r.y) = (2.3). T = 20 steps and n = 15. Report the function value at the end of each step (b) Run gradient descent on f2 with starting point (x,y) = (0.2). T = 100 steps and n = .0015. Report the function value at the end of each step (c) Run any variant of gradient descent you want for f1. Try to get the smallest funetion value after T = 20 steps (d) Run any variant of gradient descent you want for 12. Try to get the smallest function value after T = 100 steps Q2. [25 points) Consider two functions fi(x,y) = (1 ) + ry f2(,y) = (1 - y - 4) + 35(la +6) - (y - 4)2) (a) Run gradient descent on fi with starting point (cy) = (2,3), T = 20 steps and y = .05, Report the function value at the end of each step (b) Run gradient descent on f2 with starting point (x,y) = (0,2), T = 100 steps and 7 = .0015. Report the function value at the end of each step (c) Run any variant of gradient descent you want for /1. Try to get the smallest function value after T = 20 steps (d) Run any variant of gradient descent you want for 12. Try to get the smallest function value after T = 100 steps

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Multinational Business Finance

Authors: David Eiteman, Arthur Stonehill, Michael Moffett

15th Global Edition

129227008X, 9781292270081

More Books

Students also viewed these Finance questions