@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HyperParameterTuningJobConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configures a hyperparameter tuning job.
Constructor and Description |
---|
HyperParameterTuningJobConfig() |
Modifier and Type | Method and Description |
---|---|
HyperParameterTuningJobConfig |
clone() |
boolean |
equals(Object obj) |
HyperParameterTuningJobObjective |
getHyperParameterTuningJobObjective()
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
|
ParameterRanges |
getParameterRanges()
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
|
ResourceLimits |
getResourceLimits()
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs
for this tuning job.
|
String |
getStrategy()
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
String |
getTrainingJobEarlyStoppingType()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHyperParameterTuningJobObjective(HyperParameterTuningJobObjective hyperParameterTuningJobObjective)
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
|
void |
setParameterRanges(ParameterRanges parameterRanges)
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
|
void |
setResourceLimits(ResourceLimits resourceLimits)
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs
for this tuning job.
|
void |
setStrategy(String strategy)
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
void |
setTrainingJobEarlyStoppingType(String trainingJobEarlyStoppingType)
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
String |
toString()
Returns a string representation of this object.
|
HyperParameterTuningJobConfig |
withHyperParameterTuningJobObjective(HyperParameterTuningJobObjective hyperParameterTuningJobObjective)
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
|
HyperParameterTuningJobConfig |
withParameterRanges(ParameterRanges parameterRanges)
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
|
HyperParameterTuningJobConfig |
withResourceLimits(ResourceLimits resourceLimits)
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs
for this tuning job.
|
HyperParameterTuningJobConfig |
withStrategy(HyperParameterTuningJobStrategyType strategy)
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
HyperParameterTuningJobConfig |
withStrategy(String strategy)
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job
it launches.
|
HyperParameterTuningJobConfig |
withTrainingJobEarlyStoppingType(String trainingJobEarlyStoppingType)
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
HyperParameterTuningJobConfig |
withTrainingJobEarlyStoppingType(TrainingJobEarlyStoppingType trainingJobEarlyStoppingType)
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job.
|
public void setStrategy(String 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.
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.HyperParameterTuningJobStrategyType
public String getStrategy()
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.
Bayesian
. To
randomly search, set it to Random
. For information about search strategies, see How
Hyperparameter Tuning Works.HyperParameterTuningJobStrategyType
public HyperParameterTuningJobConfig withStrategy(String 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.
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.HyperParameterTuningJobStrategyType
public HyperParameterTuningJobConfig withStrategy(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.
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.HyperParameterTuningJobStrategyType
public void setHyperParameterTuningJobObjective(HyperParameterTuningJobObjective hyperParameterTuningJobObjective)
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
hyperParameterTuningJobObjective
- The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning
job.public HyperParameterTuningJobObjective getHyperParameterTuningJobObjective()
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
public HyperParameterTuningJobConfig withHyperParameterTuningJobObjective(HyperParameterTuningJobObjective hyperParameterTuningJobObjective)
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
hyperParameterTuningJobObjective
- The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning
job.public void setResourceLimits(ResourceLimits resourceLimits)
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.
resourceLimits
- The ResourceLimits object that specifies the maximum number of training jobs and parallel training
jobs for this tuning job.public ResourceLimits getResourceLimits()
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.
public HyperParameterTuningJobConfig withResourceLimits(ResourceLimits resourceLimits)
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.
resourceLimits
- The ResourceLimits object that specifies the maximum number of training jobs and parallel training
jobs for this tuning job.public void setParameterRanges(ParameterRanges parameterRanges)
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
parameterRanges
- The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job
searches.public ParameterRanges getParameterRanges()
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
public HyperParameterTuningJobConfig withParameterRanges(ParameterRanges parameterRanges)
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
parameterRanges
- The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job
searches.public void setTrainingJobEarlyStoppingType(String 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.
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.
TrainingJobEarlyStoppingType
public String getTrainingJobEarlyStoppingType()
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.
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.
TrainingJobEarlyStoppingType
public HyperParameterTuningJobConfig withTrainingJobEarlyStoppingType(String 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.
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.
TrainingJobEarlyStoppingType
public HyperParameterTuningJobConfig withTrainingJobEarlyStoppingType(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.
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.
TrainingJobEarlyStoppingType
public String toString()
toString
in class Object
Object.toString()
public HyperParameterTuningJobConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.