Thus, you can create a model that will pipeline the scaler, followed by the imputer, followed by the linear regression .
Just before Question 1, the suggested order for the pipeline is given as scaler -> imputer -> regressor
.
Shouldn’t the data be scaled after filling the NaNs (imputer):
imputer -> scaler -> regressor.
If not, why is this so?
Thanks!