Skip to content
Français

Forecasting and Time Series: Predict What Comes Next

Predict demand, tickets and staff needs well enough to act on them. Compare simple, statistical, machine learning and foundation-model forecasts in one honest backtest, turn the forecast range into a stock order and a staff roster, and run it as a weekly job.

Read every lesson as a guest, or sign in to enroll and track your progress.

Is this the right course for you?What this course covers and does not cover, and 3 courses to take for other needs.

This course teaches forecasting as a decision tool: reading a time series, simple baselines and honest backtests, statistical, machine learning and foundation-model forecasters compared on the same data, hierarchies, slow sellers and new products, forecast ranges, the stock order and staff roster they feed, and a forecast that runs every week. It does not teach supervised learning from the start, anomaly detectors or the platform that schedules and monitors jobs.

Take another course if you want to:

What you'll learn

By the end of this course, you will be able to:

  • Frame a forecast from the decision it supports: what is forecast, at what level, how far ahead, how often, and the cost of forecasting too high and too low.
  • Read a time series (trend, seasonality, holidays, level shifts, autocorrelation and missing periods) and clean it without hiding real demand.
  • Build and compare statistical forecasters (naive, seasonal-naive, moving average, ETS, ARIMA) and machine learning forecasters (regression and LightGBM with lag and calendar features), plus a foundation model as one comparison.
  • Test forecasts honestly with rolling-origin backtests and the right measures (MASE, WAPE, bias, pinball loss), and choose by the cost of the decision.
  • Forecast many series and hard series: hierarchies that must add up, intermittent demand, new products with no history, and uncertainty as quantiles and intervals.
  • Run a forecast in production: a scheduled job, forecast monitoring, retraining, people who override the forecast, and a stock order and staff roster made from it.

About this course

Larkfield ordered 2,000 parasols for a summer that turned out cold, and hundreds of them were sold at a discount in the autumn. In the one hot week of that summer, the help desk had too few agents, and customers waited a day longer for a reply. Both mistakes came from a forecast, and both had a cost.

In this course, you follow Priya, Larkfield’s data scientist, as she builds the forecasts that Kenji uses to order stock and Grace uses to plan the help-desk roster. You start with the simplest forecasts, such as “the same as last week”, and you test every method the same honest way: on dates the method did not see. Each module adds rows to one backtest table, so you can see a simple method beat a complex one on some series and lose on others, and learn why.

Then you turn the forecast into a decision. A forecast is a range, not one number. You choose how much stock to order and how many agents to schedule from that range and from the cost of a lost sale, a left-over item and an unstaffed hour. You finish with a small job that runs every week, watches its own error and records when a person changes the forecast.

The Larkfield data is synthetic: we made it for this course, with the problems that real data has, and we kept its last weeks hidden so that you can score your forecasts as reality would. Every notebook runs on a laptop CPU or on free Colab in a few minutes.

Before you start

You completed Machine Learning, From Problem to Reliable Model, or you have the same skills. You can read and change Python and pandas code in a notebook, and you know train and test sets, regression metrics and gradient boosting. The mathematics course helps but is not required. You need a free Google or Kaggle account for the notebooks, or Python 3.12 on your computer. You need no key and no money.

Courses to take first: Machine Learning: From Problem to Reliable Model.

Who this is for

Data scientists, ML engineers and analysts who must predict demand, sales, load, tickets or staffing, and the engineers who run those forecasts every week.

How we made this course

Experienced AI practitioners designed this course. AI helped us draft the content; people chose the teaching approach and the examples, and reviewed every lesson. The outputs that you see are the actual results of running the code. How we make our courses

Inside the course

Module 8Run a forecast in production

3 lessons

Run a forecast in production. A weekly forecasting job that checks its data and keeps every forecast, a bias alarm, and planners' overrides measured by the value they add.

  1. The forecasting job45 min
  2. Watch the forecast40 min
  3. People and forecasts40 min

Final module · choose at least oneCase studies

3 case studies

Three end-to-end case studies on real open data. Bike-share demand, the electricity load of many customers, and an online retailer's sales with a hierarchy. Complete at least one for the certificate; each one is a portfolio piece.

Complete at least one case study for the certificate. The others are optional. What each one covers

  1. Bike-share demand and fleet planning150 min
  2. Electricity load for many customers150 min
  3. Retail demand with a hierarchy150 min

After the case studiesFinal assignment

Use every module in one practice project. You collect evidence, and check it against the course outcomes.

  1. Final assignment180 min

Case studies

Realistic projects from start to finish, on real data, with every output explained. Each one makes a portfolio piece. Complete at least one for the certificate; the others are optional.

  1. Bike-share demand and fleet planning2 hr 30 min

    Forecast hourly or daily bike rentals with the weather, compare seasonal-naive, MSTL, LightGBM and Chronos-Bolt in a backtest, and decide how many bikes to move.

  2. Electricity load for many customers2 hr 30 min

    Forecast many customers' electricity load, compare global and per-series models with quantile forecasts, and price buying too little or too much power.

  3. Retail demand with a hierarchy2 hr 30 min

    Forecast an online retailer's sales by country and product, reconcile the hierarchy, handle slow sellers, and set order quantities from a cost table.

Reviews

Loading the reviews…

    Took this course? Sign in to review it. Learners can write a review after they complete 25% of the lessons.

    Share this course