How is the above distance calculated and can I set my own threshold?
You can find information on how the distributions are compared here (see distribution_constraints in the table):
https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-byoc-constraints.html
You can change the threshold in the constraint file to what you would like.
The baseline computes baseline schema constraints and statistics for each feature using Deequ. If youwould like more details you can take a look at the implementation here: