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 interface
Autotune.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Autotune.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
AutotuneMode
mode()
SetMode
toEnabled
if you want to use Autotune.String
modeAsString()
SetMode
toEnabled
if you want to use Autotune.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Autotune.Builder>
serializableBuilderClass()
Autotune.Builder
toBuilder()
String
toString()
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
Mode
toEnabled
if you want to use Autotune.If the service returns an enum value that is not available in the current SDK version,
mode
will returnAutotuneMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- Set
Mode
toEnabled
if you want to use Autotune. - See Also:
AutotuneMode
-
modeAsString
public final String modeAsString()
Set
Mode
toEnabled
if you want to use Autotune.If the service returns an enum value that is not available in the current SDK version,
mode
will returnAutotuneMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- Set
Mode
toEnabled
if you want to use Autotune. - See Also:
AutotuneMode
-
toBuilder
public Autotune.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-