Skip to main content
HomePython

Course

Monitoring Machine Learning in Python

AdvancedSkill Level
4.7+
321 reviews
Updated 05/2025
This course covers everything you need to know to build a basic machine learning monitoring system in Python
Start Course for Free
PythonMachine Learning3 hr11 videos38 Exercises2,800 XP3,739Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Learn how to monitor your ML Models in Python

Monitoring machine learning models ensures the long-term success of your machine learning projects. Monitoring can be very complex, however, there are Python packages to help us understand how our models are performing, what data has changed that might have led to a drop in performance, and give us clues on what we need to do to get our models back on track. This course covers everything you need to know to build a basic monitoring system in Python, using the popular monitor package, nannyml.

Understand the optimal monitoring workflow

Model monitoring is not only about simply calculating model performance in production. Unfortunately, it is not that easy. Especially when labels are hard to come by. This course will teach you about the optimal monitoring workflow. It will ensure that you always catch model failures, avoid alert fatigue, and quickly get to the root of the issue.

Learn how to find the root cause of model performance issues

Another important component to model monitoring is root cause analysis. This course will dive into how to use data drift detection techniques to get to the root cause of model performance issues. You will learn how to use both univariate and multivariate data drift detection techniques to uncover potential root causes of model issues.

Prerequisites

Monitoring Machine Learning Concepts
1

Data Preparation and Performance Estimation

In this chapter, you will be introduced to the NannyML library and its fundamental functions. Initially, you will learn the process of preparing raw data to create reference and analysis sets ready for production monitoring. As a practical example, you will investigate predicting the tip amount for taxi rides in New York. Toward the end of the chapter, you will also discover how to estimate the performance of the tip prediction model using NannyML.
Start Chapter
2

Monitoring Performance and Business Value

In this chapter, you will be introduced to realized performance calculators used when ground truth becomes available. You will learn about the more advanced methods for handling results, including filtering, plotting, converting them to data frames, chunking, and establishing custom thresholds. Lastly, you'll apply this knowledge to calculate the business value of a model trained on the hotel booking dataset.
Start Chapter
3

Root Cause Analysis and Issue Resolution

Having detected the performance degradation in the hotel booking model, you will now learn how to identify the underlying issue causing it. In this chapter, you will be introduced to multivariate and univariate drift detection methods. You will also learn how to identify data quality issues and how to address the underlying problems you detect.
Start Chapter
Monitoring Machine Learning in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 321 reviews
82%
16%
1%
0%
0%
  • Steve
    3 days ago

  • Ricardo
    4 days ago

  • Oscar Daniel
    4 days ago

  • Marcelo
    4 days ago

  • Diego
    5 days ago

  • Eduardo Junior
    5 days ago

    Muy largo y algo complicado

Steve

Ricardo

Oscar Daniel

FAQs

What Python package is used for ML monitoring in this course?

The course uses NannyML, a popular monitoring package that helps you understand model performance, detect data changes, and diagnose performance deterioration in production.

What practical example is used to learn ML monitoring?

You will investigate predicting tip amounts for taxi rides, using this dataset to learn how to prepare data, estimate performance, and detect drift in a production monitoring context.

Does this course cover data drift detection?

Yes. You will learn to identify what data has changed that might cause a drop in model performance and get clues on what to do to get your models back on track.

How advanced is this course?

This is an advanced course with nine prerequisites spanning pandas, statistics, scikit-learn, MLOps concepts, monitoring concepts, data engineering, and machine learning fundamentals.

What monitoring workflow will I be able to build after this course?

You will be able to build a basic production monitoring system in Python that prepares reference and analysis datasets, estimates performance, and alerts you to model degradation.

Join over 19 million learners and start Monitoring Machine Learning in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.