Chapter 9. Time Series Forecasting with AutoGluon
I still remember the first time I witnessed the devastating impact of poor demand forecasting. It was 2015, and I was working for a rapidly growing ecommerce company that was hemorrhaging cash despite record sales. Its warehouse was simultaneously overflowing with unsold seasonal items while it constantly ran out of its bestsellers. Customer satisfaction plummeted as delivery times stretched from days to weeks. The root cause? The company’s forecasting system was sophisticated but was largely based on guesswork, utilizing moving averages and executive intuition.
The members of the company’s analytics team had tried everything they could think of. They’d implemented ARIMA models that failed to capture the complex seasonality of their business. They’d experimented with neural networks that overfitted to historical patterns and failed spectacularly when COVID-19 disrupted traditional shopping behaviors. This represents a classic regime change scenario—when fundamental patterns shift so dramatically that historical relationships become invalid. When COVID hit, they should have implemented structural break detection to identify when the old model no longer applied, rapidly retrained on post-COVID data once enough observations accumulated, and incorporated external signals such as mobility data, case counts, and government announcements as leading indicators. These capabilities connect directly to the covariate regressor and monitoring ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access