Class AutoMLChannel
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.AutoMLChannel
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoMLChannel.Builder,AutoMLChannel>
@Generated("software.amazon.awssdk:codegen") public final class AutoMLChannel extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoMLChannel.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoMLChannel.Builderbuilder()AutoMLChannelTypechannelType()The channel type (optional) is anenumstring.StringchannelTypeAsString()The channel type (optional) is anenumstring.CompressionTypecompressionType()You can useGziporNone.StringcompressionTypeAsString()You can useGziporNone.StringcontentType()The content type of the data from the input source.AutoMLDataSourcedataSource()The data source for an AutoML channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringsampleWeightAttributeName()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutoMLChannel.Builder>serializableBuilderClass()StringtargetAttributeName()The name of the target variable in supervised learning, usually represented by 'y'.AutoMLChannel.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dataSource
public final AutoMLDataSource dataSource()
The data source for an AutoML channel.
- Returns:
- The data source for an AutoML channel.
-
compressionType
public final CompressionType compressionType()
You can use
GziporNone. The default value isNone.If the service returns an enum value that is not available in the current SDK version,
compressionTypewill returnCompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompressionTypeAsString().- Returns:
- You can use
GziporNone. The default value isNone. - See Also:
CompressionType
-
compressionTypeAsString
public final String compressionTypeAsString()
You can use
GziporNone. The default value isNone.If the service returns an enum value that is not available in the current SDK version,
compressionTypewill returnCompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompressionTypeAsString().- Returns:
- You can use
GziporNone. The default value isNone. - See Also:
CompressionType
-
targetAttributeName
public final String 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
public final String contentType()
The content type of the data from the input source. You can use
text/csv;header=presentorx-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=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present.
-
channelType
public final AutoMLChannelType channelType()
The channel type (optional) is an
enumstring. The default value istraining. Channels for training and validation must share the sameContentTypeandTargetAttributeName. 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,
channelTypewill returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelTypeAsString().- Returns:
- The channel type (optional) is an
enumstring. The default value istraining. Channels for training and validation must share the sameContentTypeandTargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets. - See Also:
AutoMLChannelType
-
channelTypeAsString
public final String channelTypeAsString()
The channel type (optional) is an
enumstring. The default value istraining. Channels for training and validation must share the sameContentTypeandTargetAttributeName. 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,
channelTypewill returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelTypeAsString().- Returns:
- The channel type (optional) is an
enumstring. The default value istraining. Channels for training and validation must share the sameContentTypeandTargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets. - See Also:
AutoMLChannelType
-
sampleWeightAttributeName
public final String 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
public AutoMLChannel.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLChannel.Builder,AutoMLChannel>
-
builder
public static AutoMLChannel.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoMLChannel.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-