How to extract important features after k-fold cross validation, with or without a pipeline?
- 阅读更多 关于 How to extract important features after k-fold cross validation, with or without a pipeline?
问题 I want to build a classifier that uses cross validation, and then extract the important features (/coefficients) from each fold so I can look at their stability. At the moment I am using cross_validate and a pipeline. I want to use a pipeline so that I can do feature selection and standardization within each fold. I'm stuck on how to extract the features from each fold. I have a different option to using a pipeline below, if that is the problem. This is my code so far (I want to try SVM and