@Generated(value="software.amazon.awssdk:codegen") public final class HyperParameterTuningJobConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HyperParameterTuningJobConfig.Builder,HyperParameterTuningJobConfig>
Configures a hyperparameter tuning job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HyperParameterTuningJobConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HyperParameterTuningJobConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HyperParameterTuningJobObjective |
hyperParameterTuningJobObjective()
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
|
ParameterRanges |
parameterRanges()
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
|
ResourceLimits |
resourceLimits()
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs
for this tuning job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HyperParameterTuningJobConfig.Builder> |
serializableBuilderClass() |
HyperParameterTuningJobStrategyType |
strategy()
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
String |
strategyAsString()
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
HyperParameterTuningJobConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrainingJobEarlyStoppingType |
trainingJobEarlyStoppingType()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
String |
trainingJobEarlyStoppingTypeAsString()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic HyperParameterTuningJobStrategyType strategy()
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches. To use the Bayesian search stategy, set this to Bayesian. To randomly search, set it to
Random. For information about search strategies, see How
Hyperparameter Tuning Works.
If the service returns an enum value that is not available in the current SDK version, strategy will
return HyperParameterTuningJobStrategyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from strategyAsString().
Bayesian. To
randomly search, set it to Random. For information about search strategies, see How
Hyperparameter Tuning Works.HyperParameterTuningJobStrategyTypepublic String strategyAsString()
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches. To use the Bayesian search stategy, set this to Bayesian. To randomly search, set it to
Random. For information about search strategies, see How
Hyperparameter Tuning Works.
If the service returns an enum value that is not available in the current SDK version, strategy will
return HyperParameterTuningJobStrategyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from strategyAsString().
Bayesian. To
randomly search, set it to Random. For information about search strategies, see How
Hyperparameter Tuning Works.HyperParameterTuningJobStrategyTypepublic HyperParameterTuningJobObjective hyperParameterTuningJobObjective()
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
public ResourceLimits resourceLimits()
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.
public ParameterRanges parameterRanges()
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
public TrainingJobEarlyStoppingType trainingJobEarlyStoppingType()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. This can be
one of the following values (the default value is OFF):
Training jobs launched by the hyperparameter tuning job do not use early stopping.
Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.
If the service returns an enum value that is not available in the current SDK version,
trainingJobEarlyStoppingType will return TrainingJobEarlyStoppingType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from trainingJobEarlyStoppingTypeAsString().
OFF):
Training jobs launched by the hyperparameter tuning job do not use early stopping.
Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.
TrainingJobEarlyStoppingTypepublic String trainingJobEarlyStoppingTypeAsString()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. This can be
one of the following values (the default value is OFF):
Training jobs launched by the hyperparameter tuning job do not use early stopping.
Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.
If the service returns an enum value that is not available in the current SDK version,
trainingJobEarlyStoppingType will return TrainingJobEarlyStoppingType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from trainingJobEarlyStoppingTypeAsString().
OFF):
Training jobs launched by the hyperparameter tuning job do not use early stopping.
Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.
TrainingJobEarlyStoppingTypepublic HyperParameterTuningJobConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HyperParameterTuningJobConfig.Builder,HyperParameterTuningJobConfig>public static HyperParameterTuningJobConfig.Builder builder()
public static Class<? extends HyperParameterTuningJobConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.