+ 3

It is common to fit and transform using StandardScaling the training data

It is common to fit and transform using StandardScaling the training data and only transform the test data. I am working on the project and how to apply it to scale if I want to use cross_validate? What is the best practice? Because I cannot fit transform the whole data before passing to cross_validate. Rewriting the function manually comes to mind.

30th Nov 2021, 7:32 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
1 Antwort
+ 2
Why you don't want to fit transform the whole data before passing it to cross_validate?
29th Dec 2021, 8:20 AM
Behzad Soleimani Neysiani
Behzad Soleimani Neysiani - avatar