The week my validation score lied
Week 5
One run scored far above anything reasonable. When a result looks too good, I now assume a bug before I assume skill.
How I found it
I ranked features by importance. One column, filled in only after a customer had already left, dominated. The model was reading the answer.
Fixes
- Removed every feature that would not exist at prediction time.
- Fit scalers and encoders inside a scikit-learn
Pipelineso they only ever saw training folds. - Split by time instead of at random, because the real use is predicting the future.
The honest score dropped to your corrected metric. It was lower and it was true, and that is the number in the write-up.