AutoMLJobChannel
¶
Source code in docs_src/capo_sagemaker/types/auto_ml_job_channel.py
channel_type
instance-attribute
¶
channel_type: NotRequired[AutoMLChannelType]
The type of channel. Defines whether the data are used for training or validation. The default value is training. Channels for training and validation must share the same ContentType
The type of channel defaults to training for the time-series forecasting problem type.
compression_type
instance-attribute
¶
compression_type: NotRequired[CompressionType]
The allowed compression types depend on the input format and problem type. We allow the compression type Gzip for S3Prefix inputs on tabular data only. For all other inputs, the compression type should be None. If no compression type is provided, we default to None.
content_type
instance-attribute
¶
content_type: NotRequired[ContentType]
The content type of the data from the input source. The following are the allowed content types for different problems:
-
For tabular problem types:
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For image classification:
image/png,image/jpeg, orimage/*. The default value isimage/*. -
For text classification:
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For time-series forecasting:
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For text generation (LLMs fine-tuning):
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present.
data_source
instance-attribute
¶
data_source: NotRequired[AutoMLDataSource]
The data source for an AutoML channel (Required).