Lecture 3 Flashcards

1
Q

What is the equation for absolute loss?

A

L_abs(y_i, H(x_i)) = |y_i - H(x_i)|

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

What is the simplified absolute loss function for the constant model?

A

L_abs(y_i, h) = |y_i - h|

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

When we use absolute loss, what is h*?

A

the point at which the average absolute loss is minimized

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

What is another name for average absolute loss?

A

mean absolute error or MAE

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

What is the equation for MAE?

A

R_abs(h) = 1/n En i=1 |y_i - h|

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

What kind of function is |x|?

A

a piecewise function

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

What is the equation for the slope of R_abs at h?

A

1/n [(# of y_i < h) - (# of y_i > h)]

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

What is h* for R_abs(h)?

A

the median

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

What is the best constant prediction in terms of mean absolute error?

A

the median

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

What happens to the best constant prediction for the MAE when n is odd?

A

the answer is unique

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

What happens to the best constant prediction for the MAE when n is even?

A

any number between the middle two data points (when sorted) also minimizes the mean absolute error

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

What is the formal name for the process of minimizing average loss?

A

empirical risk minimization

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

What is another name for “average loss”?

A

empirical risk

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

If L(y_i, h) is any loss function, what is the corresponding empirical risk?

A

R(h) = 1/n En i=1 L(y_i, h)

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