AutoMLChannel
¶
Source code in docs_src/capo_sagemaker/types/auto_ml_channel.py
channel_type
instance-attribute
¶
channel_type: NotRequired[AutoMLChannelType]
The channel type (optional) is an enum string. The default value is training. Channels for training and validation must share the same ContentType and TargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets.
compression_type
instance-attribute
¶
compression_type: NotRequired[CompressionType]
You can use Gzip or None. The default value is None.
content_type
instance-attribute
¶
content_type: NotRequired[ContentType]
The content type of the data from the input source. You can use text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.
data_source
instance-attribute
¶
data_source: NotRequired[AutoMLDataSource]
The data source for an AutoML channel.
sample_weight_attribute_name
instance-attribute
¶
sample_weight_attribute_name: NotRequired[SampleWeightAttributeName]
If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation.
Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded.
Support for sample weights is available in Ensembling mode only.
target_attribute_name
instance-attribute
¶
target_attribute_name: NotRequired[TargetAttributeName]
The name of the target variable in supervised learning, usually represented by 'y'.