How does Recursive Feature Elimination (RFE) work?
medium- Train the model; rank features by importance ; remove the least important K features; retrain; repeat until you reach the target count or the score peaks.
- RFECV wraps this in cross-validation to automatically pick the optimal number of features.
- Best on medium feature counts (< 1000) where retraining is cheap.
- Can miss useful features that only matter in combination — trades subtle interactions for interpretability.
#feature-selectionPermalink & quiz →