/AWS1/CL_SGMAUTOMLJOBCHANNEL¶
A channel is a named input source that training algorithms can consume. This channel is used for AutoML jobs V2 (jobs created by calling CreateAutoMLJobV2).
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_channeltype
TYPE /AWS1/SGMAUTOMLCHANNELTYPE
/AWS1/SGMAUTOMLCHANNELTYPE
¶
The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type.
iv_contenttype
TYPE /AWS1/SGMCONTENTTYPE
/AWS1/SGMCONTENTTYPE
¶
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=present
orx-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=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.For time-series forecasting:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.For text generation (LLMs fine-tuning):
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.
iv_compressiontype
TYPE /AWS1/SGMCOMPRESSIONTYPE
/AWS1/SGMCOMPRESSIONTYPE
¶
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
.
io_datasource
TYPE REF TO /AWS1/CL_SGMAUTOMLDATASOURCE
/AWS1/CL_SGMAUTOMLDATASOURCE
¶
The data source for an AutoML channel (Required).
Queryable Attributes¶
ChannelType¶
The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CHANNELTYPE() |
Getter for CHANNELTYPE, with configurable default |
ASK_CHANNELTYPE() |
Getter for CHANNELTYPE w/ exceptions if field has no value |
HAS_CHANNELTYPE() |
Determine if CHANNELTYPE has a value |
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=present
orx-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=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.For time-series forecasting:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.For text generation (LLMs fine-tuning):
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONTENTTYPE() |
Getter for CONTENTTYPE, with configurable default |
ASK_CONTENTTYPE() |
Getter for CONTENTTYPE w/ exceptions if field has no value |
HAS_CONTENTTYPE() |
Determine if CONTENTTYPE has a value |
CompressionType¶
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_COMPRESSIONTYPE() |
Getter for COMPRESSIONTYPE, with configurable default |
ASK_COMPRESSIONTYPE() |
Getter for COMPRESSIONTYPE w/ exceptions if field has no val |
HAS_COMPRESSIONTYPE() |
Determine if COMPRESSIONTYPE has a value |
DataSource¶
The data source for an AutoML channel (Required).
Accessible with the following methods¶
Method | Description |
---|---|
GET_DATASOURCE() |
Getter for DATASOURCE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_AUTOMLJOBINPUTDATACONFIG
¶
TYPES TT_AUTOMLJOBINPUTDATACONFIG TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMAUTOMLJOBCHANNEL WITH DEFAULT KEY
.