Lecture 12 Flashcards

1
Q

What is linear regression with multiple features called?

A

multiple linear regression

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

How many dimensions do we need to graph a multiple linear regression model?

A

3 because we need a plane

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

How would we find the prediction plane for multiple linear regression?

A

the plane of best fit that pierces through the cloud points

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

What are training examples?

A

n individuals

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

How do we distinguish between features?

A

with the use of superscripts where we have d features

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

What is the augmented feature vector Aug(x)?

A

the vector obtained by a adding a 1 to the front of feature vector x

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

What is the equivalent of w * Aug(x)?

A

w_0 + w_1x^(1) + w_2x^(2) + … + w_dx^(d)

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

What happens when w has d features?

A

it has d + 1 entries

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

What do w_1, w_2, …, w_d each give?

A

weight/coefficient/slope/feature

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

If we are trying to predict sales for stores, what will the signs of w1* and w2* be?

A

w1* (square feet) will be + and w2* (competitors) will be -

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

What do we have to do if we care about interpretability of resulting weights?

A

standardize each feature before performing regression

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

How do we convert features to standard units?

A

x_i - mean / std of x

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

How do we calculate standard deviation?

A

sqrt(1/n (x_i - mean)^2)

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

What can we not standardize?

A

the column of all 1s

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

What can we directly compare to one another?

A

standardized regression coefficients

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