Hello -
In the /notebooks/C2W3_Lab_01_Model_Evaluation_and_Selection.ipynb
I see that both “transform” and “fit_transform” functions are used – as if they are interchangeable. This is confusing. In my mind, there is no fitting needed. And it should be just “transform”.
BTW, it makes sense to use the “fit_transform” for scaling function – for the training set – and then use “transform” to scale the validation and test set. I have no confusion there.
I think there is another question almost the same as yours. Please refer to my answer there about your questions. We can continue to discuss here or there if you have any follow-ups.