Final Exam Prep Flashcards
(174 cards)
What is SLR?
simple linear regression
What is the equation for simple linear regression?
H(x) = w_0 + w_1x
What is the equation for the constant model?
H(x) = h
What is the ith observation?
(x_i, y_i)
What is H?
the hypothesis function, used to make predictions
What are summary statistics?
summarize a collection of numbers
What are examples of summary statistics?
mean, median
What is a loss function?
quantifies how bad a prediction is for a single data point
What is squared loss?
L_sq(y_i, H(x_i)) = (y_i - H(x_i))^2
What does y_i represent?
actual values
What does H(x_i) represent?
predicted values
What is R?
the average loss for all points
What is another name for R?
risk
What does MSE stand for?
mean squared error
What is the equation for MSE?
R_sq(h) = 1/n En i=1 (y_i - h)^2
What is our goal when calculating the MSE?
to find the h that minimizes R_sq(h)
What is the definition for MSE?
the average squares loss
What is the h in H(x) = h?
it is a parameter
If c(x) = a(x) + b(x), what is the derivative?
d/dx c(x) = d/dx a(x) + d/dx b(x)
What is the value that minimizes MSE?
the mean
What is the definition for convexitivity?
there is a minimum that is differentiable
What is steps does the modeling recipe consist of?
choose a model, choose a loss function, minimize average loss to find optimal model parameters.
What is does MAE stand for?
mean absolute error
What does the MAE calculate?
average absolute loss