ModelPackage
¶
Source code in docs_src/capo_sagemaker/types/model_package.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
additional_inference_specifications
instance-attribute
¶
additional_inference_specifications: NotRequired[AdditionalInferenceSpecifications]
An array of additional Inference Specification objects.
approval_description
instance-attribute
¶
approval_description: NotRequired[ApprovalDescription]
A description provided when the model approval is set.
certify_for_marketplace
instance-attribute
¶
certify_for_marketplace: NotRequired[CertifyForMarketplace]
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
created_by
instance-attribute
¶
created_by: NotRequired[UserContext]
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
creation_time
instance-attribute
¶
creation_time: NotRequired[CreationTime]
The time that the model package was created.
customer_metadata_properties
instance-attribute
¶
customer_metadata_properties: NotRequired[CustomerMetadataMap]
The metadata properties for the model package.
domain
instance-attribute
¶
domain: NotRequired[String]
The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.
drift_check_baselines
instance-attribute
¶
drift_check_baselines: NotRequired[DriftCheckBaselines]
Represents the drift check baselines that can be used when the model monitor is set using the model package.
inference_specification
instance-attribute
¶
inference_specification: NotRequired[InferenceSpecification]
Defines how to perform inference generation after a training job is run.
last_modified_by
instance-attribute
¶
last_modified_by: NotRequired[UserContext]
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
last_modified_time
instance-attribute
¶
last_modified_time: NotRequired[Timestamp]
The last time the model package was modified.
metadata_properties
instance-attribute
¶
metadata_properties: NotRequired[MetadataProperties]
Metadata properties of the tracking entity, trial, or trial component.
model_approval_status
instance-attribute
¶
model_approval_status: NotRequired[ModelApprovalStatus]
The approval status of the model. This can be one of the following values.
-
APPROVED- The model is approved -
REJECTED- The model is rejected. -
PENDING_MANUAL_APPROVAL- The model is waiting for manual approval.
model_life_cycle
instance-attribute
¶
model_life_cycle: NotRequired[ModelLifeCycle]
A structure describing the current state of the model in its life cycle.
model_package_arn
instance-attribute
¶
model_package_arn: NotRequired[ModelPackageArn]
The Amazon Resource Name (ARN) of the model package.
model_package_description
instance-attribute
¶
model_package_description: NotRequired[EntityDescription]
The description of the model package.
model_package_group_name
instance-attribute
¶
model_package_group_name: NotRequired[EntityName]
The model group to which the model belongs.
model_package_name
instance-attribute
¶
model_package_name: NotRequired[EntityName]
The name of the model package. The name can be as follows:
-
For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format '
ModelPackageGroupName/ModelPackageVersion'. -
For an unversioned model, you must provide the name.
model_package_registration_type
instance-attribute
¶
model_package_registration_type: NotRequired[ModelPackageRegistrationType]
The package registration type of the model package.
model_package_status
instance-attribute
¶
model_package_status: NotRequired[ModelPackageStatus]
The status of the model package. This can be one of the following values.
-
PENDING- The model package is pending being created. -
IN_PROGRESS- The model package is in the process of being created. -
COMPLETED- The model package was successfully created. -
FAILED- The model package failed. -
DELETING- The model package is in the process of being deleted.
model_package_status_details
instance-attribute
¶
model_package_status_details: NotRequired[ModelPackageStatusDetails]
Specifies the validation and image scan statuses of the model package.
model_package_version
instance-attribute
¶
model_package_version: NotRequired[ModelPackageVersion]
The version number of a versioned model.
sample_payload_url
instance-attribute
¶
sample_payload_url: NotRequired[String]
The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
skip_model_validation
instance-attribute
¶
skip_model_validation: NotRequired[SkipModelValidation]
Indicates if you want to skip model validation.
source_algorithm_specification
instance-attribute
¶
source_algorithm_specification: NotRequired[SourceAlgorithmSpecification]
A list of algorithms that were used to create a model package.
source_uri
instance-attribute
¶
source_uri: NotRequired[ModelPackageSourceUri]
The URI of the source for the model package.
tags
instance-attribute
¶
tags: NotRequired[TagList]
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
task
instance-attribute
¶
task: NotRequired[String]
The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.
validation_specification
instance-attribute
¶
validation_specification: NotRequired[ModelPackageValidationSpecification]
Specifies batch transform jobs that SageMaker runs to validate your model package.