โ† All Data Science Flashcard Decks

Feature Engineering and Selection Flashcards

7 cards from real Data Science practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Feature Engineering and Selection flashcards as text
  1. Which feature selection method evaluates subsets of features using the actual model's performance?

    Answer: Wrapper methods

    Wrapper methods (e.g., recursive feature elimination) train the model to score feature subsets.

  2. Filter methods select features based on:

    Answer: Statistical measures independent of any model

    Filter methods rank features by statistics like correlation or chi-square, independent of a model.

  3. L1 (Lasso) regularization performs feature selection by:

    Answer: Shrinking some coefficients exactly to zero

    L1 penalty can drive coefficients to exactly zero, effectively removing those features.

  4. Two features have a correlation of 0.97. What is a common action in feature selection?

    Answer: Drop one of the redundant features

    Highly correlated features are redundant, so dropping one reduces multicollinearity.

  5. Which metric measures multicollinearity among features?

    Answer: Variance Inflation Factor (VIF)

    VIF quantifies how much a feature is linearly explained by the others.

  6. Recursive Feature Elimination (RFE) works by:

    Answer: Iteratively removing the least important features and refitting

    RFE repeatedly trains the model and prunes the weakest features until the target count remains.

  7. A filter method using mutual information captures:

    Answer: Both linear and non-linear dependency with the target

    Mutual information measures any statistical dependency, including non-linear relationships.