How do you investigate which features look predictive of a classification target during EDA?

Quick Overview

Asks how to explore a dataset with a classification target in mind and judge which features look predictive of the outcome. Tests comparisons for numeric and categorical features, separation metrics, interaction checks, and how to avoid being misled by leakage, noise and class imbalance.

How do you investigate which features look predictive of a classification target during EDA?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

When exploring data with a specific classification target in mind, how do you investigate which features look predictive of the outcome? ```hint Split by feature type Numeric and categorical features need different comparisons against the target. Then ask how much of what you find on the data you explored could be noise or leakage. ``` ### What a Strong Answer Covers - How to compare numeric and categorical features across the target classes, both visually and with a separation metric - How to find signal that only shows up in combination with other features - How to tell real signal from leakage, noise and small-sample artifacts - How class imbalance and held-out validation affect the conclusions ### Follow-up Questions - A single feature has a univariate AUC of 0.99. What do you check before using it? - How do you assess a categorical feature with 50,000 levels, most of which appear only a handful of times? - You screened 2,000 features and 40 look significant at p < 0.05. What do you conclude? - How would you check that a predictive feature stays predictive over time?

Overview: Asks how to explore a dataset with a classification target in mind and judge which features look predictive of the outcome. Tests comparisons for numeric and categorical features, separation metrics, interaction checks, and how to avoid being misled by leakage, noise and class imbalance.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

When exploring data with a specific classification target in mind, how do you investigate which features look predictive of the outcome?

What a Strong Answer Covers Guidance

  • How to compare numeric and categorical features across the target classes, both visually and with a separation metric
  • How to find signal that only shows up in combination with other features
  • How to tell real signal from leakage, noise and small-sample artifacts
  • How class imbalance and held-out validation affect the conclusions

Follow-up Questions Guidance

  • A single feature has a univariate AUC of 0.99. What do you check before using it?
  • How do you assess a categorical feature with 50,000 levels, most of which appear only a handful of times?
  • You screened 2,000 features and 40 look significant at p < 0.05. What do you conclude?
  • How would you check that a predictive feature stays predictive over time?