[scikit-learn] passing y to .transform() in pipeline
Florin Andrei
florin at andrei.myip.org
Fri Jul 14 16:48:07 EDT 2023
Any chance Pipeline will allow the target (y) to be passed to
transformers?
I'm not talking about transforming y, although that would be nice.
I'm just talking about having y passed as an argument to transformers in
the .transform() call. That would allow me to easily run my own target
encoders.
Currently, not having y available during .transform() is very
restrictive.
Thanks!
--
Florin Andrei
https://florin.myip.org/
More information about the scikit-learn
mailing list