internalsGet Pro

Module 18 · Lesson 1 of 15Pro

Time series forecasting: predicting what comes next

Level
Intermediate
Topic
Applied ML problems
Reading time
17 min

When you finish this page you can

  1. Break a weekly sales series into level, trend, seasonality and noise, and say which baseline each part defeats.
  2. Turn a series into a table of lag features that a gradient-boosting model can learn from, without using anything the forecast could not know.
  3. Score forecasting methods on a rolling origin against naive and seasonal naive forecasts, and read where each one fails.
  4. Choose between a baseline, a per-series statistical model, one boosted model across all series, a deep network and a pretrained forecaster: what each costs and when it wins.
  1. Baselines: the simple model to beat13 min
  2. Cross-validation: getting more from little data17 min
  3. Gradient boosting: XGBoost, LightGBM and CatBoost18 min
  4. Regression metrics: MAE, RMSE and beyond13 min

Video lesson · coming soon

The sale week sold twice what anyone copied

is the online store this course uses as its example. Every Sunday night it forecasts how many units of each of its top 2 million products each of its 10 warehouses will sell next week, and replenishment orders stock from those numbers. Farah, Kartly’s ML engineer, owns the forecast.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan