Why does constructing group-level aggregate features using the entire dataset introduce data leakage?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Explains why group-level aggregate features such as per-user means or per-category target rates leak information when computed over the whole dataset. Tests understanding of train/test contamination, target self-inclusion, future information, and leak-free ways to build these features.