When you enroll in this course, you'll also be enrolled in this Professional Certificate.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate from Coursera
There are 9 modules in this course
Production ML Engineering: Packaging, APIs, and Testing focuses on transforming machine learning models into reliable production systems. In this course, you will learn how to package, deploy, document, and test machine learning applications so they can operate reliably in real-world environments.
You will begin by creating reusable Python packages that organize machine learning code into maintainable modules. Next, you will learn how to build production-ready machine learning APIs that allow models to be accessed by applications and services. The course also introduces best practices for code review, version control, and CI/CD workflows used in modern ML engineering.
As the course progresses, you will develop technical documentation that explains model architectures, training workflows, and API usage to support collaboration across teams. Finally, you will design automated testing strategies that validate machine learning pipelines and ensure reliable model outputs.
By the end of the course, you will be able to package machine learning systems, deploy ML APIs, document AI systems, and implement automated testing workflows for production environments.
Tools used in this course include Python, API frameworks, CI/CD pipelines, automated testing tools, and MLOps workflows.
You will apply advanced programming constructs such as generators, decorators, and structured logging to build reusable utilities for machine learning workflows. You will refactor preprocessing logic into modular components that improve maintainability.
What's included
3 videos2 readings2 assignments
Show info about module content
3 videos•Total 13 minutes
Welcome &Introduction•3 minutes
Why Advanced Constructs Make AI Utilities Reusable•5 minutes
Refactoring Preprocessing Into Generator Pipelines•5 minutes
2 readings•Total 13 minutes
Mastering Python Constructs•7 minutes
MLflow Tracking•6 minutes
2 assignments•Total 25 minutes
Hands-On Activity: Refactor a Preprocessing Script Using Generators and Decorators•20 minutes
Practice Quiz: Advanced Constructs for Reusable AI Utilities•5 minutes
Build Testable Python Packages for AI: Create testable, standards-compliant Python packages for ML applications
Module 2•2 hours to complete
Module details
You will create testable, standards-compliant Python packages for machine learning applications. You will structure dependencies, implement unit tests, and prepare packages for integration into production ML pipelines.
What's included
3 videos2 readings2 assignments1 ungraded lab
Show info about module content
3 videos•Total 17 minutes
Why Packaging Skills Matter in ML Engineering•5 minutes
How to Structure a Testable Python Package•6 minutes
Preventing Silent Breaks: Unit Testing ML Utilities•6 minutes
2 readings•Total 12 minutes
Structure a Testable Python Package •6 minutes
Unit Testing Patterns for ML Utilties•6 minutes
2 assignments•Total 40 minutes
Hands-On Activity: Write Unit Tests for a Mini Utility Module•20 minutes
Graded Quiz: Build Testable Python Packages for AI•20 minutes
1 ungraded lab•Total 45 minutes
Build & Test the transformer_utils Package•45 minutes
Develop Production-Ready ML APIs with MLOps: Maintaining ML Code Quality with Version Control and CI/CD
Module 3•1 hour to complete
Module details
You will apply version control, code review workflows, and CI/CD pipelines to maintain ML codebase quality. You will implement automated checks that support collaboration and production readiness.
What's included
3 videos1 reading1 assignment
Show info about module content
3 videos•Total 13 minutes
Introduction & Welcome •4 minutes
From Notebook to Production ML•4 minutes
CI/CD Pipelines and Automated Testing for ML•5 minutes
1 reading•Total 10 minutes
GitFlow and Pull Requests for ML Teams•10 minutes
1 assignment•Total 15 minutes
Hands-On Activity: Reviewing a Pull Request with CI Checks•15 minutes
Develop Production-Ready ML APIs with MLOps: Designing Modular ML APIs for Model Serving
Module 4•2 hours to complete
Module details
You will create modular software components and APIs for serving machine learning models. You will design and implement a structured service interface that supports scalable model deployment.
What's included
2 videos1 reading2 assignments1 ungraded lab
Show info about module content
2 videos•Total 9 minutes
From Model Artifact to API Service•4 minutes
Designing Clean Prediction APIs with FastAPI•5 minutes
1 reading•Total 8 minutes
Using Protobuf for ML Inference Requests•8 minutes
2 assignments•Total 35 minutes
Hands-On Activity: Sketching a /predict API Contract•15 minutes
Graded Assessment: Production-Ready ML APIs and MLOps •20 minutes
1 ungraded lab•Total 60 minutes
Build and Validate a Production-Style ML API•60 minutes
Document AI: Project & API Writing: Documenting Models, Data, and Training Pipelines
Module 5•1 hour to complete
Module details
You will apply clear writing practices to document model architectures, data schemas, training procedures, and evaluation results. You will structure documentation to improve reproducibility and technical clarity.
What's included
3 videos1 reading2 assignments
Show info about module content
3 videos•Total 16 minutes
Welcome & Lesson Introduction Video•5 minutes
How to Write Clear Model Architecture Descriptions•5 minutes
Writing Training Procedure Documentation That Engineers Trust•7 minutes
1 reading•Total 6 minutes
Model Schemas Within the MLOps Ecosystem•6 minutes
2 assignments•Total 25 minutes
Hands-On Activity: Transform a Model README •20 minutes
Practice Quiz: Documenting Models, Data & Training Procedures•5 minutes
Document AI: Project & API Writing: Writing Developer-Facing Docs for APIs and System Integration
Module 6•2 hours to complete
Module details
You will create developer-facing documentation that defines request and response schemas, usage examples, and integration guidance. You will produce structured documentation that supports onboarding and long-term system maintenance.
What's included
3 videos2 readings2 assignments1 ungraded lab
Show info about module content
3 videos•Total 16 minutes
Why API Documentation Matters in ML Engineering•4 minutes
Writing Effective Prediction API Docs•5 minutes
Documenting System Behavior: Errors, Retries, and Edge Cases•7 minutes
2 readings•Total 12 minutes
Publishing Documentation with MkDocs and Read the Docs •6 minutes
Writing Technical Tutorials That Developers Trust•6 minutes
2 assignments•Total 40 minutes
Hands-On Activity: Create an API Reference Page•20 minutes
Graded Quiz: Document AI Systems with Clarity & Precision•20 minutes
1 ungraded lab•Total 30 minutes
Write and Publish Developer Documentation for an ML Prediction API using MkDocs •30 minutes
Automate and Evaluate ML Pipeline Tests: Designing Effective Test Cases for ML Pipelines
Module 7•1 hour to complete
Module details
You will evaluate an ML pipeline by designing comprehensive test cases that cover unit, integration, and smoke testing scenarios. You will define validation strategies that detect drift and performance degradation
What's included
3 videos1 reading1 assignment
Show info about module content
3 videos•Total 17 minutes
Welcome + Why ML Tests Matter•5 minutes
Why ML Pipelines Fail Without Structured Tests•6 minutes
Designing Feature-Level Test Cases for Drift•6 minutes
1 reading•Total 10 minutes
Unit, Integration, Smoke Tests for ML•10 minutes
1 assignment•Total 10 minutes
Hands-on Activity: Build a Test Case Matrix•10 minutes
Automate and Evaluate ML Pipeline Tests: Automating Regression Tests for Stable Model Outputs
Module 8•2 hours to complete
Module details
You will create automated regression test suites to validate model outputs against baseline datasets. You will configure repeatable testing workflows that support stable and reliable model deployment.
What's included
3 videos2 readings2 assignments1 ungraded lab
Show info about module content
3 videos•Total 22 minutes
What a Regression Suite Does•7 minutes
Setting Up Nightly Pytest Runs•10 minutes
Integrating Drift Checks Into Regression Suites•5 minutes
Hands-on Activity: Write a Basic Regression Test•10 minutes
Graded Quiz: Designing and Automating ML Pipeline Tests•20 minutes
1 ungraded lab•Total 45 minutes
Configure a Nightly Pytest Regression Pipeline•45 minutes
Project: Package, Test, and Serve a Churn Prediction API
Module 9•1 hour to complete
Module details
In this project, you will transform churn prediction logic into a production-style machine learning service that is organized, testable, and easier for other developers to use.
You will simulate the work of a machine learning engineer supporting a product analytics team that wants to operationalize churn-risk predictions for internal applications. Instead of delivering a single experimental script, you will structure prediction logic into reusable Python modules, implement automated tests to validate system behavior, and document how the prediction service should be used.
Instead of delivering a single script, you will:
Organize prediction logic into reusable modules
Define a clear service interface
Implement input validation and error handling
Create automated tests
Implement at least two advanced Python practices (e.g., structured logging, decorators, generators, configuration- driven design)
Document how the system works, including model logic, data understanding, and evaluation results
The final deliverable demonstrates how machine learning functionality can be packaged into structured code that other applications can depend on. Your completed project will represent a small but realistic machine learning service that can generate churn predictions from user engagement data.
The final artifact is a portfolio-ready engineering project that reflects common machine learning operationalization work in professional environments.
Coursera brings together a diverse network of subject matter experts who have demonstrated their expertise through professional industry experience or strong academic backgrounds. These instructors design and teach courses that make practical, career-relevant skills accessible to learners worldwide.
What will I learn in Production ML Engineering: Packaging, APIs, and Testing?
You will learn how to package machine learning models, deploy APIs, implement CI/CD workflows, and test ML systems to ensure reliable production deployment.
Why is production ML engineering important?
Production ML engineering ensures that machine learning models are reliable, scalable, and maintainable when deployed in real-world applications.
Do I need software engineering experience for this course?
Basic Python programming and familiarity with machine learning workflows are recommended to successfully complete this course.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Certificate?
When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.