MODULO Machine Learning: Artificial Intelligence SagaTHEORY
Avoid leakage in preprocessing
A dataset includes an exam week with unusually high demand. A teammate standardizes the whole dataset before splitting it by time. Outline the corrected sequence.
Check your work
Split the dates first. Fit the mean and scale on training rows and reuse those values on validation rows. In a rolling evaluation, fit them again inside each training window.
