In the following video, Rahim will address the common doubts related to simple linear regression.
There’s still an important question left unaddressed, which is - 'Does scaling have an impact on the model?'
Let’s see what Rahim has to say.
Note: At 2:24, the updated code for cell number 38 should be
X_train_scaled = X_train.values.reshape(-1,1)
y_train_scaled = y_train.values.reshape(-1,1)
Scaling should be performed after removing the test set from the entire dataset. You would not want to use test set anywhere during the model building part. The test set is kept aside and is only used to 'test' the model.