Class AutoMLJobConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.AutoMLJobConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoMLJobConfig.Builder,AutoMLJobConfig>
@Generated("software.amazon.awssdk:codegen") public final class AutoMLJobConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoMLJobConfig.Builder,AutoMLJobConfig>
A collection of settings used for an AutoML job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoMLJobConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoMLJobConfig.Builderbuilder()AutoMLCandidateGenerationConfigcandidateGenerationConfig()The configuration for generating a candidate for an AutoML job (optional).AutoMLJobCompletionCriteriacompletionCriteria()How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.AutoMLDataSplitConfigdataSplitConfig()The configuration for splitting the input training dataset.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AutoMLModemode()The method that Autopilot uses to train the data.StringmodeAsString()The method that Autopilot uses to train the data.List<SdkField<?>>sdkFields()AutoMLSecurityConfigsecurityConfig()The security configuration for traffic encryption or Amazon VPC settings.static Class<? extends AutoMLJobConfig.Builder>serializableBuilderClass()AutoMLJobConfig.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
-
completionCriteria
public final AutoMLJobCompletionCriteria completionCriteria()
How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.
- Returns:
- How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.
-
securityConfig
public final AutoMLSecurityConfig securityConfig()
The security configuration for traffic encryption or Amazon VPC settings.
- Returns:
- The security configuration for traffic encryption or Amazon VPC settings.
-
candidateGenerationConfig
public final AutoMLCandidateGenerationConfig candidateGenerationConfig()
The configuration for generating a candidate for an AutoML job (optional).
- Returns:
- The configuration for generating a candidate for an AutoML job (optional).
-
dataSplitConfig
public final AutoMLDataSplitConfig dataSplitConfig()
The configuration for splitting the input training dataset.
Type: AutoMLDataSplitConfig
- Returns:
- The configuration for splitting the input training dataset.
Type: AutoMLDataSplitConfig
-
mode
public final AutoMLMode mode()
The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting
AUTO. InAUTOmode, Autopilot choosesENSEMBLINGfor datasets smaller than 100 MB, andHYPERPARAMETER_TUNINGfor larger ones.The
ENSEMBLINGmode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported byENSEMBLINGmode.The
HYPERPARAMETER_TUNING(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported byHYPERPARAMETER_TUNINGmode.If the service returns an enum value that is not available in the current SDK version,
modewill returnAutoMLMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The method that Autopilot uses to train the data. You can either specify the mode manually or let
Autopilot choose for you based on the dataset size by selecting
AUTO. InAUTOmode, Autopilot choosesENSEMBLINGfor datasets smaller than 100 MB, andHYPERPARAMETER_TUNINGfor larger ones.The
ENSEMBLINGmode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported byENSEMBLINGmode.The
HYPERPARAMETER_TUNING(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported byHYPERPARAMETER_TUNINGmode. - See Also:
AutoMLMode
-
modeAsString
public final String modeAsString()
The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting
AUTO. InAUTOmode, Autopilot choosesENSEMBLINGfor datasets smaller than 100 MB, andHYPERPARAMETER_TUNINGfor larger ones.The
ENSEMBLINGmode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported byENSEMBLINGmode.The
HYPERPARAMETER_TUNING(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported byHYPERPARAMETER_TUNINGmode.If the service returns an enum value that is not available in the current SDK version,
modewill returnAutoMLMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The method that Autopilot uses to train the data. You can either specify the mode manually or let
Autopilot choose for you based on the dataset size by selecting
AUTO. InAUTOmode, Autopilot choosesENSEMBLINGfor datasets smaller than 100 MB, andHYPERPARAMETER_TUNINGfor larger ones.The
ENSEMBLINGmode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported byENSEMBLINGmode.The
HYPERPARAMETER_TUNING(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported byHYPERPARAMETER_TUNINGmode. - See Also:
AutoMLMode
-
toBuilder
public AutoMLJobConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLJobConfig.Builder,AutoMLJobConfig>
-
builder
public static AutoMLJobConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoMLJobConfig.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.
-
-