9 Comments
User's avatar
Debarati Das Gupta's avatar

What about LDA ? Do we need feature scaling there too?

Expand full comment
Avi Chawla's avatar

No, it does not require feature scaling.

Expand full comment
Arvind Roshaan's avatar

Glad to have found your Daily Dose. It helps in consistent revision!

Expand full comment
Kaleem Mehmood's avatar

Great 👍

Expand full comment
Enrico P's avatar

I’m not really sure that for logistic regression (and linear regression too) feature scaling is actually useful, unless the regression is regularized.

If the regression is not regularized, then the estimates of parameters will be scaled accordingly with the measurement scale of the feature: if I multiply the feature by 10, then the corresponding parameter estimate will be divided by 10; if I add some constant to the feature, then the intercept will change accordingly. Some info about this topic: https://stats.stackexchange.com/questions/48360/is-standardization-needed-before-fitting-logistic-regression

Expand full comment
Avi Chawla's avatar

That's true. But this will only happen if you dump the entire data at once. For linear regression, for instance, if you use OLS, it will adjust its parameters and not hurt the accuracy at all. What I am considering here is gradient descent based classifier for logistic regression. Thanks for highlighting this, Enrico :)

Expand full comment
KOMBATE Labékoa's avatar

could you send me the PDF in French. I like this course

Expand full comment
Avi Chawla's avatar

Hey. I have this PDF only in english :(

Expand full comment
KOMBATE Labékoa's avatar

Hello

Expand full comment