Problem
Forecasting teams often reach a point where the baseline is built and tuning the model no longer moves the metric. Part of the remaining loss can sit in the data: gaps, random spikes, recurring events, hidden seasonality and trend shifts. Checking them by hand does not scale to a dataset of 145 thousand series.
Example from the article: Forecasting daily Wikipedia page views from the Web Traffic Time Series Forecasting competition, scored by SMAPE.
Solution in brief
Run exploratory data analysis (EDA) on the series and turn each finding into a pipeline step: fill gaps, fix outliers, add known events, model seasonality and trend. Keep a step only if SMAPE improves with it. Then backtest on a random sample of segments and inspect the metric distribution, the best and worst segments and the feature importance.
Questions this case answers
- How to find which data features (gaps, outliers, events, seasonality, trend) limit forecast accuracy when the baseline has stopped improving
- How to evaluate a forecasting pipeline across thousands of series when inspecting each plot is impractical
- How to find out why a forecasting baseline has stopped improving and what to fix in the data first
- How to handle missing values and outliers in a time series before forecasting
Tools and methods
- ETNA — T-Bank's time series library with EDA plots, outlier detection and trend transforms.
- Prophet — forecasting model with yearly seasonality and event windows.
- CatBoost — gradient boosting forecaster fed with day-of-week and Fourier features.
- Outlier handling — detect points, then replace or drop them.
- Backtest — SMAPE per segment and fold.
Google or a one-time email code. No password.
