Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Supply Chain Demand Forecasting with Python
New

Supply Chain Demand Forecasting with Python

Build time-series forecasts, compare classical models, and connect results to supply chain planning.
Created byBilel Benziane
Last updated 10/2026
English
English

What you'll learn

  • Distinguish demand from recorded sales, stockout censoring, and the target of a forecast.
  • Prepare chronological monthly observations and explain a SQLite aggregation query.
  • Implement classical models alongside naive and seasonal-naive baselines.
  • Compare forecasts over common horizons using charts, error measures, and bias.
  • Explain the limits of percentage metrics and comparisons across periods or products.
  • Retain a baseline while documenting and evaluating an expert adjustment.
  • Run a complete Python comparison and save its forecast table, metrics, and chart.
  • Select using validation data, refit at a later origin, and report the evaluation limits.

Course content

8 sections • 22 lectures • 2h 31m total length
  • Course overview1:55

    Preview the learning outcomes and route through the course.

  • Meet your instructor2:17

    Learn about the instructor’s background in research, artificial intelligence, and supply chain forecasting.

  • Audience and prerequisites2:17

    Check whether the course fits your role and Python background.

  • Using the course files2:18

    Download and navigate the single exercise ZIP, including starter and solution files.

Requirements

  • Basic Python variables, lists, and function calls. A computer with Python 3.11 or later and the ability to install NumPy, pandas, Matplotlib, and statsmodels. No advanced mathematics or GPU required.

Description

Learn a practical approach to supply chain demand forecasting with Python, from defining the business question to comparing forecasts and interpreting their implications for planning.


This beginner course is designed for supply chain professionals, demand planners, analysts, and students who want to understand how classical time-series forecasting works in code. You should be comfortable with basic Python variables, lists, and function calls. Advanced mathematics is not required. The SQL lesson explains its query step by step.


You will begin by distinguishing demand from recorded sales and understanding how stockouts can hide demand. You will then work through observation frequency, monthly calendars, transaction-quality issues, and SQL aggregation. These foundations help you identify what a forecasting dataset actually measures before fitting a model.


The modeling section introduces naive and seasonal-naive baselines, time-series regression, autoregression, exponential smoothing, and seasonal ARIMA. Each method is explained with code and visual examples. You will compare methods in a stated data setting rather than assume that one algorithm is best everywhere.


The evaluation section covers chronological splits, forecast horizons, visual comparison, error magnitude, percentage measures, bias, and rolling forecast origins. You will see how zero observations, changing denominators, and differences between products affect the meaning of a score. The course also explains how a documented judgmental adjustment can be evaluated against a retained baseline.


The guided Python case study brings the steps together and saves a forecast table, metrics, and a comparison chart. A separate bottle-planning example explains a simplified receipt requirement and the assumptions needed to connect a unit forecast with stock availability. In the final project, you select a method using an earlier validation window, refit at a later origin, and interpret the subsequent evaluation.


One complete exercise ZIP includes starter functions, commented reference solutions, and lightweight datasets. Exercises use standard Python and the scientific Python packages NumPy, pandas, Matplotlib, and statsmodels. No paid API, GPU, or model-service account is required for the learner exercises.


The main forecasting example uses real Australian retail turnover measured in A$ million, rather than physical item demand. Selected retail product series support comparisons across products. Transaction fixtures and bottle-planning scenarios are explicitly fictional teaching examples. The datasets and code retain source attribution.


The emphasis is on reproducible calculations, transparent assumptions, and conclusions tied to the scenario being evaluated.

Who this course is for:

  • Demand planners, supply chain professionals, analysts, and operations or engineering students with basic Python experience who want a practical introduction to time-series forecasting.