This is implemented in the current development version:
https://github.com/scikit-learn/scikit-learn/pull/9686

On 03/29/2018 05:16 AM, Roberto Guidotti wrote:
Hi scikit-learners,

I have a simple Pipeline with Feature Selection and SVC classifier and I use it in a cross validation schema with cross_validate / cross_validation_score functions. I need to extract the selected features for each fold of the CV and in general get information about the fitted elements of the pipeline in each of the CV fold.

Is there a way to get these information (e.g. fs.get_support() or fs.scores_) or I need to build my own cross_validate function?

Thank you,
Roberto

--
Ing. Roberto Guidotti, PhD.
PostDoc Fellow
Institute for Advanced Biomedical Technologies - ITAB
Department of Neuroscience and Imaging
University of Chieti "G. D'Annunzio"
Via dei Vestini, 33
66013 Chieti, Italy
tel: +39 0871 3556919
e-mail: [email protected] <mailto:[email protected]>; [email protected] <mailto:[email protected]>
linkedin: http://it.linkedin.com/in/robertogui/
twitter: @robbisg
github: https://github.com/robbisg


_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to