Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q _ wc = np . array ( [ [ 1 , 0 . 3 ] , [ 0 . 3 , 1 ] ]

Q_wc = np.array([[1,0.3],[0.3,1]]); q = np.array([0,0]); Q_sic = np.array([[1,0.85],[0.85,1]]); q = np.array([0,0]); Q_ic = np.array([[1,0.99],[0.99,1]]); q = np.array([0,0]); PartA Consider the quadratic functions f_wc, f_sic and f_ic defined by the quadratic matrices above. For each of these, say whether they are \beta -smooth and/or \alpha -strongly convex, and if so, compute the value of the condition number, k=\beta /\alpha for each function. PartB Compute the best fixed step size for gradient descent, and the best parameters for accelerated gradient descent. For each function, plot the error f(x_t)f(x) as a function of the number of iterations. For each function, plot these on the same plot so you can compare so you should have 3 plots total. Problem 1: Gradient Descent and Acceleration In this problem you will explore the impact of ill-conditioning on gradient descent, and will then see how acceleration can improve the situation. This accelerated gradient descent as the condition number (ratio of largest to smallest eigenvalues of the Hessian) increases. This is a "toy" problem, but is still instructive regarding the performance of these two algorithms. You will work with the following simple function:
f(x)=1/2 x^ Q x,
where Q is a 2 by 2 matrix, as defined below.

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

Step: 3

blur-text-image

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

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

| What are the values that are most important to me?

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago