Skip to main content

Module 7: MLOps (Machine Learning Operations)

MLOps. So far you have learned how to build a model: cleaning data, training, checking accuracy. But a model that only runs in your notebook is of no use to anyone. In this module you will learn how to take a model out into the real world : by turning it into an API ( FastAPI ), packing it in a box ( Docker ), keeping a record of experiments ( MLflow ), getting tests and builds done automatically ( CI/CD ), and watching over it once it is live ( Logging & Monitoring ).

We will first explain each thing with small, working code , and then at the end of the module we will join everything together to build an AI Medical Assistant : with a FastAPI backend, web UI, tests, Docker and CI .

ChapterTopics
34Introduction to MLOps (what MLOps is, the ML lifecycle, roadmap)
35FastAPI for ML Deployment (API, endpoint, /predict, Pydantic, Swagger /docs)
36Docker Containers (image vs container, Dockerfile, build, run, ps, stop)
37MLflow for Tracking (parameters, metrics, models, UI, Model Registry)
38CI/CD Introduction (CI and CD, GitHub Actions, automatic testing and build)
39Logging & Monitoring (logging module, performance monitoring, data drift)
40Class-Based and Home-Based Projects (AI Medical Assistant: FastAPI + UI)

Chapters​

Module Test​

Module 7 Test.