Regression Flashcards

1
Q

What does regression minimize?

A

Regression minimizes the sum of squared errors

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

How could you deal with outliers without changing their values?

A

First you train your model.
Second you remove around 10% of points with the largest error.
And then you retrain.

This would converge to a better model.

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

Is feature scaling relevant for linear regression

A

It is just if it’s a regularized regression. In a normal regression the betas will change acording to the transformations made to the variable values.

In a regularized regression, standardization is important, because we loose this invariance we have with least squares. This is easy to see: both lasso and ridge do regularization based on the size of the betas, so any transformation which change the relative sizes of the betas will change the result!

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