@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HyperParameterAlgorithmSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifies which training algorithm to use for training jobs that a hyperparameter tuning job launches and the metrics to monitor.
Constructor and Description |
---|
HyperParameterAlgorithmSpecification() |
Modifier and Type | Method and Description |
---|---|
HyperParameterAlgorithmSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithmName()
The name of the resource algorithm to use for the hyperparameter tuning job.
|
List<MetricDefinition> |
getMetricDefinitions()
An array of MetricDefinition
objects that specify the metrics that the algorithm emits.
|
String |
getTrainingImage()
The registry path of the Docker image that contains the training algorithm.
|
String |
getTrainingInputMode() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithmName(String algorithmName)
The name of the resource algorithm to use for the hyperparameter tuning job.
|
void |
setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of MetricDefinition
objects that specify the metrics that the algorithm emits.
|
void |
setTrainingImage(String trainingImage)
The registry path of the Docker image that contains the training algorithm.
|
void |
setTrainingInputMode(String trainingInputMode) |
String |
toString()
Returns a string representation of this object.
|
HyperParameterAlgorithmSpecification |
withAlgorithmName(String algorithmName)
The name of the resource algorithm to use for the hyperparameter tuning job.
|
HyperParameterAlgorithmSpecification |
withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of MetricDefinition
objects that specify the metrics that the algorithm emits.
|
HyperParameterAlgorithmSpecification |
withMetricDefinitions(MetricDefinition... metricDefinitions)
An array of MetricDefinition
objects that specify the metrics that the algorithm emits.
|
HyperParameterAlgorithmSpecification |
withTrainingImage(String trainingImage)
The registry path of the Docker image that contains the training algorithm.
|
HyperParameterAlgorithmSpecification |
withTrainingInputMode(String trainingInputMode) |
HyperParameterAlgorithmSpecification |
withTrainingInputMode(TrainingInputMode trainingInputMode) |
public HyperParameterAlgorithmSpecification()
public void setTrainingImage(String trainingImage)
The registry path of the Docker image that contains the training algorithm. For information about Docker registry
paths for built-in algorithms, see Algorithms
Provided by Amazon SageMaker: Common Parameters. SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats. For more
information, see Using Your Own
Algorithms with Amazon SageMaker.
trainingImage
- The registry path of the Docker image that contains the training algorithm. For information about Docker
registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats.
For more information, see Using Your Own Algorithms with
Amazon SageMaker.public String getTrainingImage()
The registry path of the Docker image that contains the training algorithm. For information about Docker registry
paths for built-in algorithms, see Algorithms
Provided by Amazon SageMaker: Common Parameters. SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats. For more
information, see Using Your Own
Algorithms with Amazon SageMaker.
registry/repository[:tag]
and registry/repository[@digest]
image path formats.
For more information, see Using Your Own Algorithms
with Amazon SageMaker.public HyperParameterAlgorithmSpecification withTrainingImage(String trainingImage)
The registry path of the Docker image that contains the training algorithm. For information about Docker registry
paths for built-in algorithms, see Algorithms
Provided by Amazon SageMaker: Common Parameters. SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats. For more
information, see Using Your Own
Algorithms with Amazon SageMaker.
trainingImage
- The registry path of the Docker image that contains the training algorithm. For information about Docker
registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats.
For more information, see Using Your Own Algorithms with
Amazon SageMaker.public void setTrainingInputMode(String trainingInputMode)
trainingInputMode
- TrainingInputMode
public String getTrainingInputMode()
TrainingInputMode
public HyperParameterAlgorithmSpecification withTrainingInputMode(String trainingInputMode)
trainingInputMode
- TrainingInputMode
public HyperParameterAlgorithmSpecification withTrainingInputMode(TrainingInputMode trainingInputMode)
trainingInputMode
- TrainingInputMode
public void setAlgorithmName(String algorithmName)
The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this
parameter, do not specify a value for TrainingImage
.
algorithmName
- The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for
this parameter, do not specify a value for TrainingImage
.public String getAlgorithmName()
The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this
parameter, do not specify a value for TrainingImage
.
TrainingImage
.public HyperParameterAlgorithmSpecification withAlgorithmName(String algorithmName)
The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this
parameter, do not specify a value for TrainingImage
.
algorithmName
- The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for
this parameter, do not specify a value for TrainingImage
.public List<MetricDefinition> getMetricDefinitions()
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
public void setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
metricDefinitions
- An array of
MetricDefinition objects that specify the metrics that the algorithm emits.public HyperParameterAlgorithmSpecification withMetricDefinitions(MetricDefinition... metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDefinitions(java.util.Collection)
or withMetricDefinitions(java.util.Collection)
if
you want to override the existing values.
metricDefinitions
- An array of
MetricDefinition objects that specify the metrics that the algorithm emits.public HyperParameterAlgorithmSpecification withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
metricDefinitions
- An array of
MetricDefinition objects that specify the metrics that the algorithm emits.public String toString()
toString
in class Object
Object.toString()
public HyperParameterAlgorithmSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.