@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 the search strategy for hyperparameters.
|
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 the search strategy for hyperparameters.
|
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 the search strategy for hyperparameters.
|
HyperParameterTuningJobConfig |
withStrategy(String strategy)
Specifies the search strategy for hyperparameters.
|
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 the search strategy for hyperparameters. Currently, the only valid value is Bayesian
.
strategy
- Specifies the search strategy for hyperparameters. Currently, the only valid value is
Bayesian
.HyperParameterTuningJobStrategyType
public String getStrategy()
Specifies the search strategy for hyperparameters. Currently, the only valid value is Bayesian
.
Bayesian
.HyperParameterTuningJobStrategyType
public HyperParameterTuningJobConfig withStrategy(String strategy)
Specifies the search strategy for hyperparameters. Currently, the only valid value is Bayesian
.
strategy
- Specifies the search strategy for hyperparameters. Currently, the only valid value is
Bayesian
.HyperParameterTuningJobStrategyType
public HyperParameterTuningJobConfig withStrategy(HyperParameterTuningJobStrategyType strategy)
Specifies the search strategy for hyperparameters. Currently, the only valid value is Bayesian
.
strategy
- Specifies the search strategy for hyperparameters. Currently, the only valid value is
Bayesian
.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. One of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
trainingJobEarlyStoppingType
- Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One
of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
TrainingJobEarlyStoppingType
public String getTrainingJobEarlyStoppingType()
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
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 no longer improving as measured by the objective metric of the tuning job.
TrainingJobEarlyStoppingType
public HyperParameterTuningJobConfig withTrainingJobEarlyStoppingType(String trainingJobEarlyStoppingType)
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
trainingJobEarlyStoppingType
- Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One
of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
TrainingJobEarlyStoppingType
public HyperParameterTuningJobConfig withTrainingJobEarlyStoppingType(TrainingJobEarlyStoppingType trainingJobEarlyStoppingType)
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
trainingJobEarlyStoppingType
- Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. One
of the following values:
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 no longer improving as measured by the objective metric of the tuning job.
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.