Math Problem Statement
derive solutions for the parameters a and b of the linear model y = ax + b and for N training samples {(x1, y1),(x2, y2), . . . ,(xN , yN )}.
Solution
Ask a new question for Free
By Image
Drop file here or Click Here to upload
Math Problem Analysis
Mathematical Concepts
Linear Regression
Least Squares Method
Formulas
E(a, b) = Σ(y_i - (ax_i + b))^2
a = (NΣx_iy_i - Σx_iΣy_i) / (NΣx_i^2 - (Σx_i)^2)
b = (Σy_i - aΣx_i) / N
Theorems
Method of Least Squares
Suitable Grade Level
Undergraduate Level