week 2 Flashcards
(9 cards)
Define performance measure
When we have a model f, we are interested in its performance in the prediction. This performance can be quantified by a cost function C(w) : R^d → R.
define residual
r = y- w^t . x
what is MSE
Mean Square Error
How do you build a linear approximation of an unknown nonlinear function
at point x. approximation f(x’): f(x) + (x’-x) df(x)
What is derivative of matrix a^T X
a
what is derivative of (X^T) AX
A.X + (A^T) X
Give formal definition of global minima
if all C(W) >= C(W*)
Give formal definition of local minima
If there exists some region Z > 0 such that: C(W) >= C(W*) for all W within distance Z of W but C(W) ! >= C(W) for all W
difference between linear regression and polynomial regression
Polynomial regression uses a basis function. It makes the function linear with respect to the features