Question
A researcher is preparing a chronological forecast evaluation. Day 0 is midnight on 1 September: decisions made on days below 0 are candidates for training, and decisions on day 0 or later are validation decisions. Each row records a decision day \(t\), an outcome label computed using observations from the half-open future interval \([t,e)\), and the latest release day \(r\) of any feature it uses. An outcome becomes available for training at day \(e\); a feature can be used in a forecast at \(t\) only if \(r\le t\). At day 0 the model incorporates data released exactly at that boundary and is then frozen, just before any validation forecast.
| Row | Decision \(t\) | Label end \(e\) | Latest feature release \(r\) |
|---|---|---|---|
| A | −10 | −2 | −11 |
| B | −7 | +1 | −7 |
| C | −4 | −1 | −3 |
| D | −3 | 0 | −3 |
| E | −2 | −1 | −2 |
| F | −1 | +3 | −2 |
| G | 0 | +2 | 0 |
| H | +2 | +4 | +1 |
| I | +3 | +5 | +4 |
Which rows may be used to fit the day-0 model, which rows form valid validation decisions, and exactly which candidate training labels must be purged? Justify the cases that end or release exactly at the boundary rather than relying on a fixed number of days to purge.
Get hint
Hint 1
For each training row, ask two separate questions: was every feature available at that row's decision day, and was the label fully known when the model was frozen?
Check your answer
Solution
A row can train the frozen model only if (i) its decision is before the split, \(t<0\); (ii) all its features were available when it made that decision, \(r\le t\); and (iii) its outcome label is already known at the model-freeze instant, \(e\le0\). Condition (iii) also ensures a training outcome interval \([t,e)\) never overlaps the validation information period \([0,\infty)\), since those half-open intervals are disjoint exactly when \(e\le0\).
Apply the rules row by row:
- A \((-10,-2,-11)\): train; its features preceded its decision and the label ended before the split.
- B \((-7,+1,-7)\): purge; label uses outcomes after day 0, despite features being timely.
- C \((-4,-1,-3)\): exclude for leakage; its feature was released after the decision, even though the label ends before day 0.
- D \((-3,0,-3)\): train; \(r=t\) is allowed, and label interval \([-3,0)\) ends exactly at the boundary, without containing day-0 observations.
- E \((-2,-1,-2)\): train.
- F \((-1,+3,-2)\): purge; its forward label crosses into the validation period.
- G \((0,+2,0)\) and H \((+2,+4,+1)\): valid validation decisions, with timely features. Their later labels are used only to score the frozen model after observation, never in training.
- I \((+3,+5,+4)\): invalid validation input, since day-4 information is not available for a day-3 forecast.
Thus the precise label purge is \(\{B,F\}\), not every row in a fixed lookback band; D and E demonstrate why that distinction matters. The full training exclusion set is \(\{B,C,F\}\). Equality \(e=0\) is admissible under the explicitly half-open label convention and immediate availability at \(e\); equality \(r=t\) is admissible because the value is available by decision time. Different release latency or endpoint conventions would require a different boundary rule.
Assumptions
Time is measured in whole days relative to the 1 September split; positive and negative entries denote days after and before it.
Labels use the half-open interval \([t,e)\) and are released immediately at e.
The day-0 model is frozen before the validation decisions and never refitted on validation outcomes.
Features with release day r are available at the start of day r and cannot be used earlier.
Final Answer
Train on A, D, E; purge training rows B and F for outcome overlap; exclude C for a future feature. Validate decisions G and H; I is not valid at its decision time.