Python coder
Python coder

Reputation: 839

Sagemaker: How to debug Model monitoring(data quality and model quality)?

I have created a Data Quality monitoring from Sagemaker Studio UI and also created using sagemaker SDK code, I referred to create model Data Quality monitoring job.

Errors:

  1. when there is no captured data (this is expected)

Monitoring job failure reason:

Job inputs had no data

  1. From logs, I can see that it is using Java in background. Not sure how to debug?

org.json4s.package$MappingException: Do not know how to convert JObject(List(0,JDouble(38.0))) into class java.lang.String.

enter image description here

Once we create the DataQuality monitoring job using Sagemaker Studio UI or Sagemkaer python sdk, it is taking a hour to start. I would like to know is there a way to debug monitoring job without waiting for a hour every time we get a error?

Upvotes: 0

Views: 418

Answers (1)

Raghu Ramesha
Raghu Ramesha

Reputation: 484

For development, it might be easier to trigger execution of the monitoring job manually. Take a look at this python code

If you want to see how it's used, open the lab 5 notebook of the workshop and scroll almost to the end, to the cells right after the "Triggering execution manually" title.

Upvotes: 1

Related Questions