How EDA findings drive data cleaning, feature engineering and model selection decisions
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
How do the insights gained from exploratory data analysis (EDA) drive decisions about data cleaning, feature engineering, or the selection of appropriate machine learning models? Give concrete examples of a finding and the decision it leads to.
```hint Pair each finding with an action
For each thing EDA can reveal (a distribution shape, a missingness pattern, a relationship with the target), name the specific decision it changes.
```
```hint Look past the input columns
Consider what the target variable, the timestamps and the way the data will be split can reveal during EDA.
```
### What a Strong Answer Covers
- How data quality findings (missingness, impossible values, duplicates, outliers) turn into specific cleaning actions
- How distributions, relationships with the target and category cardinality shape transformations and encodings
- How the structure of the data and the target (linearity, interactions, imbalance, collinearity, size) informs the model family and the evaluation metric
- How EDA exposes leakage and time effects that change the validation design
- How EDA sets realistic expectations for model performance
### Follow-up Questions
- How would you tell whether values are missing at random or missing for a reason tied to the target, and why does it matter?
- One feature predicts the target almost perfectly. What do you check before using it?
- How do you keep EDA from leaking information from the test set into your modeling choices?
- If you plan to use a gradient-boosted tree model, which EDA findings still change what you do?
Overview: Asks how findings from exploratory data analysis lead to concrete choices in data cleaning, feature engineering and model selection. Tests whether a candidate can connect missingness, skew, imbalance, collinearity and leakage checks to specific modeling and validation decisions.