EDA and feature diagnostics
Understand how to inspect distributions, missingness and feature relationships before training.
Check data quality and split the dataset before fitting transformations.
Interview questions
Choose a question to reveal its answer.
01EasyCoreWhat can a histogram tell you about a numerical feature?
Answer
What can a histogram tell you about a numerical feature?
It summarizes counts or densities in bins, revealing distribution shape, concentration and possible skew.
Inspect the distribution of transaction amounts before scaling.
02EasyCoreWhy may median be preferable to mean for skewed data?
Answer
Why may median be preferable to mean for skewed data?
The median is an order statistic and is less sensitive to extreme observations than the mean.
Describe a highly skewed salary distribution.
import pandas as pd
s = pd.Series([10, 12, 13, 14, 200])
print(s.describe())
print('median:', s.median())A large observation affects the mean much more than the median.
03EasyCoreHow is the IQR used in exploratory analysis?
Answer
How is the IQR used in exploratory analysis?
IQR equals Q3 minus Q1 and describes the middle half of observations; fences can flag possible outliers, not automatically prove errors.
Flag unusually large measurements for investigation.
04MediumCoreWhat does a positively skewed distribution look like?
Answer
What does a positively skewed distribution look like?
It has a longer or heavier right tail under the usual interpretation; a few high values can pull the mean upward.
Inspect a dataset of purchase values with a few large orders.
05MediumHigh priorityWhat can a correlation matrix reveal, and what can it miss?
Answer
What can a correlation matrix reveal, and what can it miss?
It highlights pairwise linear relationships but may miss nonlinear associations and does not establish causality.
Identify redundant input features while checking nonlinear plots.
06MediumHigh priorityHow do missingness patterns affect model design?
Answer
How do missingness patterns affect model design?
Missing values may be unrelated to observed data, depend on observed variables or depend on unobserved values; treatment depends on assumptions.
Investigate whether unrecorded lab values are associated with clinical workflow.
07MediumHigh priorityWhy detect duplicate or near-duplicate examples before splitting?
Answer
Why detect duplicate or near-duplicate examples before splitting?
Duplicates can make held-out evaluation overly optimistic when nearly identical examples cross splits.
Deduplicate repeated text documents or split related records together.
08EasyWhy examine the distribution of the target variable?
Answer
Why examine the distribution of the target variable?
It reveals imbalance, skew and missing or invalid labels, helping choose metrics and data strategies.
Use precision-recall analysis for rare positive events.
09MediumWhat is a feature cross and when can it help?
Answer
What is a feature cross and when can it help?
It represents interactions between features that may not be captured by an additive model.
Combine location and hour to model demand patterns.
10HardWhat is training-serving skew and how do you detect it?
Answer
What is training-serving skew and how do you detect it?
It is a mismatch between training and serving feature computation or distribution; compare logged serving features with the training pipeline.
Detect inconsistent units between training and production inputs.
Priority and difficulty are editorial study recommendations.
Technical reference: Documentation / paper ↗
Try a few practice questions
Explore the questions before creating a free account.