Class Autotune
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.Autotune
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Autotune.Builder,Autotune>
@Generated("software.amazon.awssdk:codegen") public final class Autotune extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Autotune.Builder,Autotune>
A flag to indicate if you want to use Autotune to automatically find optimal values for the following fields:
-
ParameterRanges: The names and ranges of parameters that a hyperparameter tuning job can optimize.
-
ResourceLimits: The maximum resources that can be used for a training job. These resources include the maximum number of training jobs, the maximum runtime of a tuning job, and the maximum number of training jobs to run at the same time.
-
TrainingJobEarlyStoppingType: A flag that specifies whether or not to use early stopping for training jobs launched by a hyperparameter tuning job.
-
RetryStrategy: The number of times to retry a training job.
-
Strategy: Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training jobs that it launches.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutotune.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Autotune.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AutotuneModemode()SetModetoEnabledif you want to use Autotune.StringmodeAsString()SetModetoEnabledif you want to use Autotune.List<SdkField<?>>sdkFields()static Class<? extends Autotune.Builder>serializableBuilderClass()Autotune.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
-
mode
public final AutotuneMode mode()
Set
ModetoEnabledif you want to use Autotune.If the service returns an enum value that is not available in the current SDK version,
modewill returnAutotuneMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- Set
ModetoEnabledif you want to use Autotune. - See Also:
AutotuneMode
-
modeAsString
public final String modeAsString()
Set
ModetoEnabledif you want to use Autotune.If the service returns an enum value that is not available in the current SDK version,
modewill returnAutotuneMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- Set
ModetoEnabledif you want to use Autotune. - See Also:
AutotuneMode
-
toBuilder
public Autotune.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Autotune.Builder,Autotune>
-
builder
public static Autotune.Builder builder()
-
serializableBuilderClass
public static Class<? extends Autotune.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.
-
-