4. Gradient descent. Gradient descent is one of the most popular algorithms in data science and...

80.2K

Verified Solution

Question

Advance Math

4. Gradient descent. Gradient descent is one of the most popularalgorithms in data science and by far the most common way tooptimise neural networks. A function is minimised by iterativelymoving a little bit in the direction of negative gradient. For thetwo-dimensional case, the step of iteration is given by the formulaxn+1 , yn+1 = xn, yn ? ? ?f(xn, yn). In general, ? does not have tobe a constant, but in this question, for demonstrative purposes, weset ? = 0.1. Let f(x, y) = 3.5x 2 ? 4xy + 6.5y 2 and x0 and y0 beany real numbers. (a) For all x, y ? R compute ?f(x, y) and find amatrix A such that [3] A x y = x y ? ? ?f(x, y). Write anexpression for xn yn in terms of x0 and y0 and powers of A. (b)Find the eigenvalues of A. [1] (c) Find one eigenvectorcorresponding to each eigenvalue. [2] (d) Find matrices P and Dsuch that D is diagonal and A = P DP ?1 . [1] (e) Find matrices Dn, P ?1 and An . Find formulas for xn and yn. [4] (f) Suppose x0 =y0 = 1. Find the smallest N ? N such that xN yN ? 0.05. [3] (g)Sketch the region R consisting of those (x0, y0) such that xN ? 0,yN ? 0 and [4] xN yN ? 0.05, xN?1 yN?1 > 0.05, where N is thenumber found in part (f). Write an equation for the boundary of R.Which points of the boundary belongs to R and which do not?

Answer & Explanation Solved by verified expert
4.5 Ratings (653 Votes)
    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students