A retail team created a model using customer revenue from a 30-day window ending at signup time, but they now want to produce predictions daily while ensuring the feature reflects the correct event-time window per prediction. What should they do?

Answer

Define feature computation with event-time windows and align the window end to each prediction timestamp

Explanation

Correct window alignment requires event-time semantics so each prediction uses the intended period. Misaligned window endpoints create leakage or artificial signal.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list