Linear Regression - Data preparation

What does it mean to normalize data?
why is it needed?

hey @devchopra999_11c6416ab7f09bbf,
if you remember , linear regression algorithm makes some assumptions to work.
hence , due to those assumptions only , we need to normalize our data before fitting into linear regression model.

i hope this helps.

does it convert all the data into numbers between 0 and 1?
how are the assumptions related to normalization please explain

Yes. You are correct on this.

please explain the relation between the assumptions and normlization of data

if you know what assumptions linear regression has …
in them you will see that , one assumption is that it assumes the data is normalized and hence accordingly the weights that the algorithm will calculate are updated.
So , for that we need to normalize our data

1 Like