It earns a place when
- Use time-aware baselines, backtesting and prediction intervals when decisions depend on future values.
- You can evaluate it against a credible baseline.
- Its output fits the decision and data constraints.
Machine learning models · Phase 6 · Lesson 46
Model trend, seasonality, autocorrelation and forecast uncertainty without leaking the future.
Model trend, seasonality, autocorrelation and forecast uncertainty without leaking the future.
A time series is not just a table with a date column. Order determines what information was available when each prediction was made.
Forecasts can use lagged values, moving averages, state-space models, exponential smoothing or autoregression. Evaluation should respect time with rolling or expanding windows.
Forecast weekly demand using recent demand, calendar effects and promotions. A random split can make the score look strong by allowing future patterns into training.
When a result looks surprisingly good, inspect the split, target timing, error slices and data-generating process before celebrating.
Use this as a small experiment rather than a recipe to copy blindly. Change one thing, record the result and explain the change.
Answer from memory first. The buttons reveal feedback, but the durable step is explaining why.
1. What makes forecasting different from ordinary random splitting?
2. What is a lag feature?
3. Why backtest over several origins?
Forecasting: Principles and Practice. Use the source for the deeper treatment after you can explain the lesson's core idea without looking.