Which wrapper can select features for an estimator with no coef or featureimportances attribute?
Classic MLLevel: IntermediateSelection without importances
Which wrapper can select features for an estimator with no coef_ or feature_importances_ attribute?
Hints
- Evaluate subsets through predictive performance.
- Candidate subsets require repeated fitting.
Answer
SequentialFeatureSelector compares validation scores when adding or removing candidate features. It needs a usable scoring interface, not built-in feature importance, but can be expensive.
Source and licence: scikit-learn 1.7.2 — feature selection · BSD-3-Clause · answer: Quantoros editorial