Skip to content

Module 2 · MLOps: Deploying Machine Learning & Deep Learning Models

Packaging and Serving Models: lessons

From notebook to service: saving models, an API with FastAPI, and reproducible Docker containers.

3 lessons · 48 min

What this module teaches, what it asks of you first and how you practise it are on its syllabus page.

Open the syllabus
  1. Saving Models Reproducibly

    14 min

    Artefacts, dependency versions, and why `model.pkl` alone is not enough to load the same model three months later.

    Included with the track
  2. A Model API with FastAPI

    18 min

    A prediction endpoint with input validation, a health check and the model version in every response — a service other teams can call without knowing what scikit-learn is.

    Included with the track
  3. Containerising with Docker

    16 min

    An image that is small, fast to rebuild, and runs exactly the same on a laptop, in CI and on a server — because the environment ships with the code.

    Included with the track