[scikit-learn] intermediate data state in a Pipeline
solegalli at protonmail.com
Mon Apr 11 13:42:30 EDT 2022
Say I have a pipeline with 3 data transformations, i.e., SimpleImputer, OrdinalEncoder and StandardScaler, and a Lasso at the end. And I want to obtain a copy of the transformed data that would be input to the Lasso.
Is there a way other than selecting all the steps of the pipeline prior to the Lasso and applying transform sequentially?
Sent with [ProtonMail](https://protonmail.com/) secure email.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scikit-learn