[scikit-learn] Get parameters of classes in a Pipeline within cross_validate

Roberto Guidotti robbenson18 at gmail.com
Thu Mar 29 05:16:32 EDT 2018


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: r.guidotti at unich.it; rguidotti at acm.org
linkedin: http://it.linkedin.com/in/robertogui/
twitter: @robbisg
github: https://github.com/robbisg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180329/b8c36f72/attachment.html>


More information about the scikit-learn mailing list