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