MicrosoftDocs / ml-basics

Exercise notebooks for Machine Learning modules on Microsoft Learn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

02 - why normalize=False in LinearRegression

raybellwaves opened this issue · comments

In https://github.com/MicrosoftDocs/ml-basics/blob/master/02%20-%20Regression.ipynb

you have model = LinearRegression(normalize=False).fit(X_train, y_train). I'm curious what the normalize=False does. Would you mind explaining in the notebook?

@raybellwaves
It would normalize (scale) the numeric values - which we cover later in the tutorial (so I don't want to get into it at that point)
You might want to take a look at the updated notebook - I've expanded it a bit.