CreateTrainedModelRequest
¶
Source code in docs_src/capo_cleanroomsml/types/create_trained_model_request.py
configured_model_algorithm_association_arn
instance-attribute
¶
configured_model_algorithm_association_arn: ConfiguredModelAlgorithmAssociationArn
The associated configured model algorithm used to train this model.
data_channels
instance-attribute
¶
data_channels: ModelTrainingDataChannels
Defines the data channels that are used as input for the trained model request.
Limit: Maximum of 20 channels total (including both dataChannels and incrementalTrainingDataChannels).
description
instance-attribute
¶
description: NotRequired[ResourceDescription]
The description of the trained model.
environment
instance-attribute
¶
environment: NotRequired[Environment]
The environment variables to set in the Docker container.
hyperparameters
instance-attribute
¶
hyperparameters: NotRequired[HyperParameters]
Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process.
incremental_training_data_channels
instance-attribute
¶
incremental_training_data_channels: NotRequired[IncrementalTrainingDataChannels]
Specifies the incremental training data channels for the trained model.
Incremental training allows you to create a new trained model with updates without retraining from scratch. You can specify up to one incremental training data channel that references a previously trained model and its version.
Limit: Maximum of 20 channels total (including both incrementalTrainingDataChannels and dataChannels).
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[KmsKeyArn]
The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data.
membership_identifier
instance-attribute
¶
membership_identifier: UUID
The membership ID of the member that is creating the trained model.
ml_model_training_payer_account_id
instance-attribute
¶
ml_model_training_payer_account_id: NotRequired[AccountId]
The account ID of the member that is responsible for paying for model training costs.
resource_config
instance-attribute
¶
resource_config: ResourceConfig
Information about the EC2 resources that are used to train this model.
stopping_condition
instance-attribute
¶
stopping_condition: NotRequired[StoppingCondition]
The criteria that is used to stop model training.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
training_input_mode
instance-attribute
¶
training_input_mode: TrainingInputMode
The input mode for accessing the training data. This parameter determines how the training data is made available to the training algorithm. Valid values are:
-
File- The training data is downloaded to the training instance and made available as files. -
FastFile- The training data is streamed directly from Amazon S3 to the training algorithm, providing faster access for large datasets. -
Pipe- The training data is streamed to the training algorithm using named pipes, which can improve performance for certain algorithms.