Why are filter methods more computationally efficient than wrapper methods on high-dimensional data?

Quick Overview

Explain why filter feature selection scales better than wrapper methods when the number of features is large. It tests how you count model fits for exhaustive, greedy and recursive search, how cross-validation multiplies the cost, and what filters miss about feature interactions.

Why are filter methods more computationally efficient than wrapper methods on high-dimensional data?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Why are filter methods more computationally efficient than wrapper methods on high-dimensional data? Compare the two families of feature selection methods by how much work each one does as the number of features grows, and say what you give up by choosing the cheaper one. ```hint Count the model fits For each approach, count how many times a model has to be trained, and how that count changes when the number of features $p$ doubles. ``` ### What a Strong Answer Covers - What a filter method computes per feature and its rough cost in terms of rows $n$ and features $p$. - How many model fits exhaustive, greedy and recursive elimination wrappers need, including the effect of cross-validation. - Why the gap widens as $p$ grows. - What filters miss compared with wrappers, and the common pattern that combines them. ### Follow-up Questions - Where do embedded methods, such as L1 regularization or tree-based importance, fall on cost and selection quality? - How would you evaluate a subset chosen by a wrapper without an optimistic bias? - Give an example where a univariate filter discards a feature that matters. - How would you handle many redundant features that all pass a filter?

Overview: Explain why filter feature selection scales better than wrapper methods when the number of features is large. It tests how you count model fits for exhaustive, greedy and recursive search, how cross-validation multiplies the cost, and what filters miss about feature interactions.

PracHub logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

Why are filter methods more computationally efficient than wrapper methods on high-dimensional data?

Compare the two families of feature selection methods by how much work each one does as the number of features grows, and say what you give up by choosing the cheaper one.

What a Strong Answer Covers Guidance

  • What a filter method computes per feature and its rough cost in terms of rows nn and features pp .
  • How many model fits exhaustive, greedy and recursive elimination wrappers need, including the effect of cross-validation.
  • Why the gap widens as pp grows.
  • What filters miss compared with wrappers, and the common pattern that combines them.

Follow-up Questions Guidance

  • Where do embedded methods, such as L1 regularization or tree-based importance, fall on cost and selection quality?
  • How would you evaluate a subset chosen by a wrapper without an optimistic bias?
  • Give an example where a univariate filter discards a feature that matters.
  • How would you handle many redundant features that all pass a filter?