Re: [scikit-learn] using a predictor as transformer
Use the functiontransformer and create a function which make your transform using lasso
Re: [scikit-learn] using a predictor as transformer
If you want to use lasso for feature selection in a pipeline you have to wrap it in SelectFromModel. On 09/06/2017 11:56 AM, Lefevre, Augustin wrote: Hi all, I am playing with the pipeline features of sklearn and it seems that I can’t use a prediction algorithm as intermediate step. For i