120 points sample of speedleming the four points (0, 2), (2.1...) and in the owing ure can be thought of training set, w
Posted: Sat May 14, 2022 6:47 pm
120 points sample of speedleming the four points (0, 2), (2.1...) and in the owing ure can be thought of training set, where the vectors are one-dimensional hat is the point (1.2) can be thought of a pair (112) where is the memo rature vector and 2 is the associated labely, the other points can be interpreted similarly (12) (2.1) Suppose we want to learn the linear function f(x) = ax + b that best represents the points of the training set. A natural interpretation of "best" is that the root-mean-square Error (RMSE) of the value of f(x) compared with the given value of y is minimized. That is, we want to minimize (ax + b-yx)2 = (a + b - 2)2 + (2a +b – 1)2 + (3a + b – 4)2 + (4a + b -- 3)? X=1 Where yx is the value associated with x. Find a and b.