-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Warn about using scale, min_max_scale, etc. #17387
Copy link
Copy link
Closed
Description
We have a bunch of preprocessing helpers like scale, quantile_transform, robust_scale etc.
While these can be useful, users misuse them and leak their training data, as recently illustrated in the mailing list.
I think we should:
- Add a
.. warningnote in their respective docstrings indicating the dangers of using these and recommending pipelines + estimators instead - Stop referencing them from the UG, and only add them e.g. in the "See Also" sections, or even just in the API ref.
Right now the first entry of the Preprocessing guide is scale. I think it should be StandardScaler within a pipeline.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels