SageMaker Model Monitor Visualize
SageMaker Model Monitor - visualizing monitoring results
This notebook's CI test result for us-west-2 is as follows. CI test results in other regions can be found at the end of the notebook.
The prebuilt container from SageMaker computes a variety of statistics and evaluates constraints out of the box. This notebook demonstrates how you can visualize them. You can grab the ProcessingJob arn from the executions behind a MonitoringSchedule and use this notebook to visualize the results.
Let's import some python libraries that will be helpful for visualization
Get Utilities for Rendering
The functions for plotting and rendering distribution statistics or constraint violations are implemented in a utils file so let's grab that.
Get Execution and Baseline details from Processing Job Arn
Enter the ProcessingJob arn for an execution of a MonitoringSchedule below to get the result files associated with that execution
Overview
The code below shows the violations and constraint checks across all features in a simple table.
Distributions
This section visualizes the distribution and renders the distribution statistics for all features
Execution Stats vs Baseline
Notebook CI Test Results
This notebook was tested in multiple regions. The test results are as follows, except for us-west-2 which is shown at the top of the notebook.