BaseliningJob | R Documentation |
Provides functionality to retrieve baseline-specific files output from baselining job.
sagemaker.common::.Job
-> sagemaker.common::ProcessingJob
-> BaseliningJob
new()
Initializes a Baselining job that tracks a baselining job kicked off by the suggest workflow.
BaseliningJob$new( sagemaker_session = NULL, job_name = NULL, inputs = NULL, outputs = 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): Name of the Amazon SageMaker Model Monitoring Baselining Job.
inputs
([sagemaker.processing.ProcessingInput]): A list of ProcessingInput objects.
outputs
([sagemaker.processing.ProcessingOutput]): A list of ProcessingOutput objects.
output_kms_key
(str): The output kms key associated with the job. Defaults to None if not provided.
from_processing_job()
Initializes a Baselining job from a processing job.
BaseliningJob$from_processing_job(processing_job)
processing_job
(sagemaker.processing.ProcessingJob): The ProcessingJob used for baselining instance.
sagemaker.processing.BaseliningJob: The instance of ProcessingJob created using the current job name.
baseline_statistics()
Returns a sagemaker.model_monitor.Statistics object representing the statistics JSON file generated by this baselining job.
BaseliningJob$baseline_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 job.
suggested_constraints()
Returns a sagemaker.model_monitor.Constraints object representing the constraints JSON file generated by this baselining job.
BaseliningJob$suggested_constraints( file_name = CONSTRAINTS_JSON_DEFAULT_FILE_NAME, kms_key = NULL )
file_name
(str): The name of the json-formatted constraints file
kms_key
(str): The kms key to use when retrieving the file.
sagemaker.model_monitor.Constraints: The Constraints object representing the file that was generated by the job.
clone()
The objects of this class are cloneable with this method.
BaseliningJob$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.