Class AutoMLChannel
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AutoMLChannel.Builder,
AutoMLChannel>
A channel is a named input source that training algorithms can consume. The validation dataset size is limited to less than 2 GB. The training dataset size must be less than 100 GB. For more information, see Channel.
A validation dataset must contain the same headers as the training dataset.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoMLChannel.Builder
builder()
final AutoMLChannelType
The channel type (optional) is anenum
string.final String
The channel type (optional) is anenum
string.final CompressionType
You can useGzip
orNone
.final String
You can useGzip
orNone
.final String
The content type of the data from the input source.final AutoMLDataSource
The data source for an AutoML channel.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
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.static Class
<? extends AutoMLChannel.Builder> final String
The name of the target variable in supervised learning, usually represented by 'y'.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dataSource
The data source for an AutoML channel.
- Returns:
- The data source for an AutoML channel.
-
compressionType
You can use
Gzip
orNone
. The default value isNone
.If the service returns an enum value that is not available in the current SDK version,
compressionType
will returnCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompressionTypeAsString()
.- Returns:
- You can use
Gzip
orNone
. The default value isNone
. - See Also:
-
compressionTypeAsString
You can use
Gzip
orNone
. The default value isNone
.If the service returns an enum value that is not available in the current SDK version,
compressionType
will returnCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompressionTypeAsString()
.- Returns:
- You can use
Gzip
orNone
. The default value isNone
. - See Also:
-
targetAttributeName
The name of the target variable in supervised learning, usually represented by 'y'.
- Returns:
- The name of the target variable in supervised learning, usually represented by 'y'.
-
contentType
The content type of the data from the input source. You can use
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.- Returns:
- The content type of the data from the input source. You can use
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.
-
channelType
The channel type (optional) is an
enum
string. The default value istraining
. Channels for training and validation must share the sameContentType
andTargetAttributeName
. For information on specifying training and validation channel types, see How to specify training and validation datasets.If the service returns an enum value that is not available in the current SDK version,
channelType
will returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchannelTypeAsString()
.- Returns:
- The channel type (optional) is an
enum
string. The default value istraining
. Channels for training and validation must share the sameContentType
andTargetAttributeName
. For information on specifying training and validation channel types, see How to specify training and validation datasets. - See Also:
-
channelTypeAsString
The channel type (optional) is an
enum
string. The default value istraining
. Channels for training and validation must share the sameContentType
andTargetAttributeName
. For information on specifying training and validation channel types, see How to specify training and validation datasets.If the service returns an enum value that is not available in the current SDK version,
channelType
will returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchannelTypeAsString()
.- Returns:
- The channel type (optional) is an
enum
string. The default value istraining
. Channels for training and validation must share the sameContentType
andTargetAttributeName
. For information on specifying training and validation channel types, see How to specify training and validation datasets. - See Also:
-
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.
- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AutoMLChannel.Builder,
AutoMLChannel> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-