Class HyperParameterTuningJobStrategyConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.HyperParameterTuningJobStrategyConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<HyperParameterTuningJobStrategyConfig.Builder,HyperParameterTuningJobStrategyConfig>
@Generated("software.amazon.awssdk:codegen") public final class HyperParameterTuningJobStrategyConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HyperParameterTuningJobStrategyConfig.Builder,HyperParameterTuningJobStrategyConfig>
The configuration for a training job launched by a hyperparameter tuning job. Choose
Bayesian
for Bayesian optimization, andRandom
for random search optimization. For more advanced use cases, useHyperband
, which evaluates objective metrics for training jobs after every epoch. For more information about strategies, see How Hyperparameter Tuning Works.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
HyperParameterTuningJobStrategyConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HyperParameterTuningJobStrategyConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
HyperbandStrategyConfig
hyperbandStrategyConfig()
The configuration for the object that specifies theHyperband
strategy.List<SdkField<?>>
sdkFields()
static Class<? extends HyperParameterTuningJobStrategyConfig.Builder>
serializableBuilderClass()
HyperParameterTuningJobStrategyConfig.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
-
hyperbandStrategyConfig
public final HyperbandStrategyConfig hyperbandStrategyConfig()
The configuration for the object that specifies the
Hyperband
strategy. This parameter is only supported for theHyperband
selection forStrategy
within theHyperParameterTuningJobConfig
API.- Returns:
- The configuration for the object that specifies the
Hyperband
strategy. This parameter is only supported for theHyperband
selection forStrategy
within theHyperParameterTuningJobConfig
API.
-
toBuilder
public HyperParameterTuningJobStrategyConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<HyperParameterTuningJobStrategyConfig.Builder,HyperParameterTuningJobStrategyConfig>
-
builder
public static HyperParameterTuningJobStrategyConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends HyperParameterTuningJobStrategyConfig.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.
-
-