Skip to content

ModelTrainingDataChannel

Source code in docs_src/capo_cleanroomsml/types/model_training_data_channel.py
class ModelTrainingDataChannel(TypedDict, closed=True):
    ml_input_channel_arn: (
        "capo_cleanroomsml.types.ml_input_channel_arn.MLInputChannelArn"
    )
    """<p>The Amazon Resource Name (ARN) of the ML input channel for this model training data channel.</p>"""
    channel_name: "capo_cleanroomsml.types.model_training_data_channel_name.ModelTrainingDataChannelName"
    """<p>The name of the training data channel.</p>"""
    s3_data_distribution_type: (
        "capo_cleanroomsml.types.s3_data_distribution_type.S3DataDistributionType"
    )
    """<p>Specifies how the training data stored in Amazon S3 should be distributed to training instances. This parameter controls the data distribution strategy for the training job:</p> <ul> <li> <p> <code>FullyReplicated</code> - The entire dataset is replicated on each training instance. This is suitable for smaller datasets and algorithms that require access to the complete dataset.</p> </li> <li> <p> <code>ShardedByS3Key</code> - The dataset is distributed across training instances based on Amazon S3 key names. This is suitable for larger datasets and distributed training scenarios where each instance processes a subset of the data.</p> </li> </ul>"""

channel_name instance-attribute

The name of the training data channel.

ml_input_channel_arn instance-attribute

ml_input_channel_arn: MLInputChannelArn

The Amazon Resource Name (ARN) of the ML input channel for this model training data channel.

s3_data_distribution_type instance-attribute

s3_data_distribution_type: S3DataDistributionType

Specifies how the training data stored in Amazon S3 should be distributed to training instances. This parameter controls the data distribution strategy for the training job:

  • FullyReplicated - The entire dataset is replicated on each training instance. This is suitable for smaller datasets and algorithms that require access to the complete dataset.

  • ShardedByS3Key - The dataset is distributed across training instances based on Amazon S3 key names. This is suitable for larger datasets and distributed training scenarios where each instance processes a subset of the data.