Re: [scikit-learn] using a predictor as transformer

2017-09-06 Thread Guillaume Lemaitre
Use the functiontransformer and create a function which make your transform using lasso

Re: [scikit-learn] using a predictor as transformer

2017-09-06 Thread Andreas Mueller
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