My current understanding is that, we cant directly transform/retrieve y-labels
passed as (X,y)
while using a Pipeline.
The fit_transform
at the end returns transformations only on the X
passed and y
is only utilized in situations involving fit()
, fit_predict()
and such.
Is my understanding correct?
Also is there a way to transform and retrieve y
(including when dropping instances using a Custom Transformer) without having to break out of a fully enclosed model training pipeline?