What is the difference between filter, wrapper, and embedded feature selection methods?

Quick Overview

Asks how filter, wrapper and embedded feature selection methods differ, with an example of each. Tests the cost and blind spots of each family, how to combine them, and how to run feature selection inside cross-validation without leakage.

What is the difference between filter, wrapper, and embedded feature selection methods?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the difference between filter, wrapper, and embedded feature selection methods? Give an example of each and say when you would use it. ```hint Sort by model involvement Ask, for each family, whether a model is trained at all while selecting, and if so how many times. ``` ### What a Strong Answer Covers - How each family scores or chooses features, with a concrete example method for each. - The cost of each family and how it scales with the number of features. - What each family can and cannot capture: interactions, redundancy, model-specific behavior. - How to combine them in practice and how to run selection without leaking information into the evaluation. ### Follow-up Questions - You have 50,000 sparse text features and 3,000 labeled rows. Which approach would you start with, and why? - Two features are almost perfectly correlated. What does a univariate filter do with them, and what does L1 regularization do? - Why can selecting features on the full dataset before cross-validation give an above-chance score on pure noise? - How would you check that a selected feature set is stable?

Overview: Asks how filter, wrapper and embedded feature selection methods differ, with an example of each. Tests the cost and blind spots of each family, how to combine them, and how to run feature selection inside cross-validation without leakage.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is the difference between filter, wrapper, and embedded feature selection methods? Give an example of each and say when you would use it.

What a Strong Answer Covers Guidance

  • How each family scores or chooses features, with a concrete example method for each.
  • The cost of each family and how it scales with the number of features.
  • What each family can and cannot capture: interactions, redundancy, model-specific behavior.
  • How to combine them in practice and how to run selection without leaking information into the evaluation.

Follow-up Questions Guidance

  • You have 50,000 sparse text features and 3,000 labeled rows. Which approach would you start with, and why?
  • Two features are almost perfectly correlated. What does a univariate filter do with them, and what does L1 regularization do?
  • Why can selecting features on the full dataset before cross-validation give an above-chance score on pure noise?
  • How would you check that a selected feature set is stable?