| Statistics | R Documentation |
Represents the statistics JSON file used in Amazon SageMaker Model Monitoring.
sagemaker.mlcore::ModelMonitoringFile -> Statistics
new()Initializes the Statistics object used in Amazon SageMaker Model Monitoring.
Statistics$new( body_dict = NULL, statistics_file_s3_uri = NULL, kms_key = NULL, sagemaker_session = NULL )
body_dict(str): The body of the statistics JSON file.
statistics_file_s3_uri(str): The uri of the statistics JSON file.
kms_key(str): The kms key to be used to decrypt the file in S3.
sagemaker_session(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.
from_s3_uri()Generates a Statistics object from an s3 uri.
Statistics$from_s3_uri( statistics_file_s3_uri, kms_key = NULL, sagemaker_session = NULL )
statistics_file_s3_uri(str): The uri of the statistics JSON file.
kms_key(str): The kms key to be used to decrypt the file in S3.
sagemaker_session(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.
sagemaker.model_monitor.Statistics: The instance of Statistics generated from the s3 uri.
from_string()Generates a Statistics object from an s3 uri.
Statistics$from_string( statistics_file_string, kms_key = NULL, file_name = NULL, sagemaker_session = NULL )
statistics_file_string(str): The uri of the statistics JSON file.
kms_key(str): The kms key to be used to encrypt the file in S3.
file_name(str): The file name to use when uploading to S3.
sagemaker_session(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.
sagemaker.model_monitor.Statistics: The instance of Statistics generated from the s3 uri.
from_file_path()Initializes a Statistics object from a file path.
Statistics$from_file_path( statistics_file_path, kms_key = NULL, sagemaker_session = NULL )
statistics_file_path(str): The path to the statistics file.
kms_key(str): The kms_key to use when encrypting the file in S3.
sagemaker_session(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.
sagemaker.model_monitor.Statistics: The instance of Statistics generated from the local file path.
clone()The objects of this class are cloneable with this method.
Statistics$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.