Lecture 7 - Linear Regression Flashcards

1
Q

What is linear regression?

A

Is a straightforward approach for predicting a quantitative response Y on the basis of a single predictor variable, X.

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

What is B0 in Y = B0 + B1X?

A

B0 is the bias term.

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

B0 and B1 are refered to what?

What can we do if we have these values?

A

These are called the coefficients or parameters of the model.

With them we can predict y or unknown values of x.

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

How does linear regression work?

A

We want to obtain values of the coefficients so that the linear model “fits the data well”. This is the line that follows the shape of the training data.

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

What process do we use in linear regression?

A

Define Closeness

Define Search procedure for the best fit.

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

How do we define “close”?

A

By measuring what is called the least squares criterion.

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

What is the residual (in linear regression)?

A

It is the difference between what the current model gives us and the “right” answer.

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

What is the residual sum of squares (RSS)?

A

It is the sum of the squares of the residuals.

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

What is the closet match?

A

It is the minimum value of RSS.

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

What are we trying to find with the RSS?

A

The lowest possible value.

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

What is the residual sum of squares (RSS)?

A

It is the “cost”

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

How do we find the gradient?

A

By calculating derivatives

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

Is the continuous function of gradient decent convex or concave?

A

It is convex so we can find a minimum. (may not be best solution but is the best the model can do.)

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