Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.3. (Gradient Descent, 10 points) Suppose we have training data { (21, y1), (x2, yz), ..., (N, yN) }, where x; E Rd and y;

image text in transcribed
1.3. (Gradient Descent, 10 points) Suppose we have training data { (21, y1), (x2, yz), ..., (N, yN) }, where x; E Rd and y; E RK, i = 1,2, ..., N. (1) Find the closed-form solution of the following prob- lem. N min aillyi - Wai - bllz, W,b i=1 where the diagonal of diagonal matrix diag(A) = (01, 02, ..., aN) are weights for different sample; (2) Show how to use gradient descent to solve the problem. Hint: You can use either definition or differentiation method to derive the derivatives. If you use differentiation method, please note that N aillyi - Wai - bll3 = tr[( Y - XW)"A(Y - XW)] i=1 where Y = (y1, y2, . .., yN)T E RNxk, X = [(x], 1)], (x7, 1)T, ..., (x(, 1)TIT E RNx(d+1) W = (W,b)T ER(d+1)xk, and A = diag(@1, 02, . . ., ON)

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

Intermediate Accounting

Authors: Donald E. Kieso, Jerry J. Weygandt, And Terry D. Warfield

13th Edition

9780470374948, 470423684, 470374942, 978-0470423684

Students also viewed these Mathematics questions

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago