Why fit an outlier threshold on the training set only, and how does re-fitting it on test cause leakage?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Asks why an outlier rule such as a z-score cutoff, IQR fences or a score percentile must be fitted on training data and frozen for test. Tests understanding of data leakage, optimistic offline metrics, and pipeline and cross-validation hygiene for anomaly detection.