
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Minimizing Error
linear regression is: E (a,b)= ŕ Ž (yn caxn+b)* , v In - (b² nel -We want to minimize E E
d E da = Ñ [ -2xn lyn- Carn +b)) 20 n= 12 nel
E
ni de db
( Using the second equation:
b = 9 - Using the first equation: & Xn yn - Nyx -NE? Matrix form of linear regression ] y=Xß + € (we can write equations for all data points compactly by using this equation) nal y, simple linear regresion: x= [1] B=(8] yol XN na?..., N multivariable linear regression: (M explanatory variables) y = a, xn,1 + a2 *n, 2