Question: 1. The difference is W X1 + W2X2-y. The squared difference is L = (W1X1 + W2x2 - y)( W1X1 + W2X2 - y). Multiply

1. The difference is W X1 + W2X2-y. The squared difference is L = (W1X1 + W2x2 - y)( W1X1 + W2X2 - y). Multiply this out L = wixi (W1X1 +W2X2 y) + Wx (W1X1 + W2x2 - y) y(w1X1 + W2X2 y) = w;2x12+ W1X1W2X2 - W2x1y + ... and combine identical terms into L = w,2x12+ 2W2X1W2X2 - 2w1x1y + ... 2. Now compute the partial derivatives OL/dwi= and al/dw2= 3. Show that (fill out the missing factors) al/dw= (W1X1 + W2x2 - y) and al/dw,= _(W1X1 + W2x2 - y). What w = (W1, W2) makes the gradient (al/dw, OL/dw2) = 0? (Solve the normal equation?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
