Lecture 11 Flashcards
What is the observation vector?
the vector of observed values
What is the hypothesis vector?
the vector of predicted values
What is the error vector?
the vector of signed errors
What is the equation for the error vector?
e_i = y_i - H(x_i)
How do we rewrite the mean squared error of H?
1/n ||y - h||^2
How does the linear hypothesis function H(x) = w_0 + w_1x be written as?
a matrix of n x 1 where each line is w_0 + w_1x_1, w_0 + w_1x_2, etc.
What is the notation for the design matrix?
X E R^nx2
What does the design matrix look like?
a matrix of n x 2 where the first column is all 1’s and the second column is n
What is the parameter vector’s notation?
w E R^2
What are the variables in the parameter vector?
w_0 and w_1
What is the mean squared error for the design matrix?
R_sq(w) = 1/n ||y - Xw ||^2
What is the equation for the optimal parameter vector?
w* = [w_0* w_1*]^T
What is the minimizer of R_sq(w)?
argmin||e||
What do we need to know about X^TX in order for it to be invertible?
it has to be full rank
What does full rank mean?
all columns are linearly independent