# 6.2. ML model monitoring dashboard with Evidently. Batch architecture \[CODE PRACTICE]

{% embed url="<https://youtu.be/u4Mcu0hXfMA?si=uNdmwVdKcAWP410K>" %}

**Video 2**. [ML model monitoring dashboard with Evidently. Batch architecture \[CODE PRACTICE\]](https://youtu.be/u4Mcu0hXfMA?si=uNdmwVdKcAWP410K), by Emeli Dral

In this video, we create a script to generate Reports and Test Suites for several batches of data and design different panels to display on a live ML monitoring dashboard.

**Want to go straight to code?** Here is the [code example](https://github.com/evidentlyai/ml_observability_course/blob/main/module6/batch_monitoring_dashboard.py) to follow along.

**Outline:**\
[00:00](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=0s) Introduction\
[00:47](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=47s) Overview of the script\
[02:27](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=147s) Imports\
[03:28](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=208s) Create global variables\
[05:41](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=341s) Load the data\
[07:19](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=439s) Implement the function to generate Reports and Test Suites\
[11:32](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=692s) Create a Project\
[13:53](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=833s) Add a counter panel (dashboard title)\
[15:10](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=910s) How to filter which data to display\
[16:31](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=991s) Add a line plot panel (target drift)\
[19:55](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1195s) Add a bar plot panel (dataset drift)\
[21:23](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1283s) Add test suite panels\
[22:47](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1367s) Implement the function to generate the Dashboard\
[23:46](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1426s) Live script debugging\
[27:11](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1631s) Run the script and monitoring service\
[28:36](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1716s) View and explore the dashboard in the browser\
[30:21](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1821s) View the individual Reports and Test Suites\
[31:38](https://www.youtube.com/watch?v=u4Mcu0hXfMA\&t=1898s) Recap and next steps


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.evidentlyai.com/ml-observability-course/module-6-deploying-an-ml-monitoring-dashboard/batch-ml-monitoring-dashboard-code-practice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
