liveBook · Manning

Recursive feature elimination

As explained in Machine Learning System Design

An iterative feature-selection algorithm that repeatedly removes the least important features according to a fitted model.

Recursive feature elimination (RFE) selects features iteratively: fit a model, rank features by importance, remove the worst K, and repeat. It offers model-aware selection but can be computationally expensive, so it is usually better suited to deliberate refinement than the first rough pruning pass. section 11.3.3

Use RFE as part of a practical feature-selection workflow:

  • Start with rough cutoffs when many features are obviously irrelevant; reserve RFE for more meaningful subset decisions. section 11.3.3
  • Use an embedded model’s feature importances to decide which features to remove at each iteration. section 11.3.3
  • Check the selected features against model-agnostic importance measures, feature-quality tests, correlation limits, and computation-time constraints. section 11.5.1

Demand forecasting at Supermegaretail

During early feature development, RFE automatically reduces the candidate set for SKU-store-day demand models. The team then tests ranges, outliers, pairwise correlation, contribution, and feature computation time before and after training. section 11.5.1

How Machine Learning System Design covers it

How deep it goes
Defines iterative removal through model importances but defers detailed optimization and implementation mechanics.
Examples
Uses demand forecasting features for SKUs, stores, and days, alongside correlation, outlier, contribution, and runtime tests.
What it assumes
Assumes fitted models and feature-importance measures, while treating the initial feature set as still under development.
What you can do after
Operate/configure it in an early training pipeline to reduce candidate features and track practical selection constraints.
How it connects
Connects feature selection with embedded methods, wrapper methods, Lasso regression, and feature importance.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.