Course Wiki

Debugging with test suites and reports — MLOps Zoomcamp Module 5

MLOps Zoomcamp › Module 5: Model Monitoring › Debugging with test suites and reports

Notes

Homework

More information here

Notes

Did you take notes? Add them here:

Monitoring example

Notes

There were a massive update for Evidently since 0.7.0 version.

To check working example with Evidently >= 0.7.0 go to post-evidently-0.7 folder.

Prerequisites

You need following tools installed:

Preparation

Note: all actions expected to be executed in repo folder.

Monitoring Example

Starting services

To start all required services, execute:

docker-compose up

It will start following services:

Sending data

To calculate evidently metrics with prefect and send them to database, execute:

python evidently_metrics_calculation.py

This script will simulate batch monitoring. Every 10 seconds it will collect data for a daily batch, calculate metrics and insert them into database. This metrics will be available in Grafana in preconfigured dashboard.

Accsess dashboard

Ad-hoc debugging

Run debugging_nyc_taxi_data.ipynb to see how you can perform a debugging with help of Evidently TestSuites and Reports

Stopping services

To stop all services, execute:

docker-compose down

Key concepts

Sources


DataTalks.Club. Hosted on GitHub Pages. Built with Rustkyll. We use cookies.