MonitoringExecution | R Documentation |
Provides functionality to retrieve monitoring-specific files output from monitoring executions
sagemaker.common::.Job
-> sagemaker.common::ProcessingJob
-> MonitoringExecution
new()
Initializes a MonitoringExecution job that tracks a monitoring execution kicked off by an Amazon SageMaker Model Monitoring Schedule.
MonitoringExecution$new( sagemaker_session = NULL, job_name = NULL, inputs = NULL, output = NULL, output_kms_key = NULL )
sagemaker_session
(sagemaker.session.Session): Session object which manages interactions with Amazon SageMaker APIs and any other AWS services needed. If not specified, one is created using the default AWS configuration chain.
job_name
(str): The name of the monitoring execution job.
inputs
(list[:class:'~sagemaker.processing.ProcessingInput']): A list of :class:'~sagemaker.processing.ProcessingInput' objects.
output
(sagemaker.Processing.ProcessingOutput): The output associated with the monitoring execution.
output_kms_key
(str): The output kms key associated with the job. Defaults to None if not provided.
from_processing_arn()
Initializes a Baselining job from a processing arn.
MonitoringExecution$from_processing_arn(sagemaker_session, processing_job_arn)
sagemaker_session
(sagemaker.session.Session): Session object which manages interactions with Amazon SageMaker APIs and any other AWS services needed. If not specified, one is created using the default AWS configuration chain.
processing_job_arn
(str): ARN of the processing job to create a MonitoringExecution out of.
sagemaker.processing.BaseliningJob: The instance of ProcessingJob created using the current job name.
statistics()
Returns a sagemaker.model_monitor.Statistics object representing the statistics JSON file generated by this monitoring execution.
MonitoringExecution$statistics( file_name = STATISTICS_JSON_DEFAULT_FILE_NAME, kms_key = NULL )
file_name
(str): The name of the json-formatted statistics file
kms_key
(str): The kms key to use when retrieving the file.
sagemaker.model_monitor.Statistics: The Statistics object representing the file that was generated by the execution.
constraint_violations()
Returns a sagemaker.model_monitor.ConstraintViolations object representing the constraint violations JSON file generated by this monitoring execution.
MonitoringExecution$constraint_violations( file_name = CONSTRAINT_VIOLATIONS_JSON_DEFAULT_FILE_NAME, kms_key = NULL )
file_name
(str): The name of the json-formatted constraint violations file.
kms_key
(str): The kms key to use when retrieving the file.
sagemaker.model_monitor.ConstraintViolations: The ConstraintViolations object representing the file that was generated by the monitoring execution.
clone()
The objects of this class are cloneable with this method.
MonitoringExecution$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.