week 2 Flashcards

(9 cards)

1
Q

Define performance measure

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

define residual

A

r = y- w^t . x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is MSE

A

Mean Square Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you build a linear approximation of an unknown nonlinear function

A

at point x. approximation f(x’): f(x) + (x’-x) df(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is derivative of matrix a^T X

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is derivative of (X^T) AX

A

A.X + (A^T) X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give formal definition of global minima

A

if all C(W) >= C(W*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give formal definition of local minima

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

difference between linear regression and polynomial regression

A

Polynomial regression uses a basis function. It makes the function linear with respect to the features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly