Doing hyperparameter estimation for the estimator in each fold of Recursive Feature Elimination
问题 I am using sklearn to carry out recursive feature elimination with cross-validation, using the RFECV module. RFE involves repeatedly training an estimator on the full set of features, then removing the least informative features, until converging on the optimal number of features. In order to obtain optimal performance by the estimator, I want to select the best hyperparameters for the estimator for each number of features (edited for clarity). The estimator is a linear SVM so I am only