Optional Lab: Feature scaling and learning rate. Z-score normalization

From what I understand, the range of #Bedrooms, #Floors and maybe Age looks acceptable. While size is different order of magnitude greater so it needs to be rescaled.

But in the lab all features are rescaled.

Why?

Maybe if I want to scale a feature I need to scale all?

Thank you all

Hello @KiraDiShira,

We don’t have to scale all when we want to scale one feature, but i would always suggest to scale all since the key is to make sure all features having similar scales and scaling all features does exactly that.

Raymond

1 Like