@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()
The input mode that the algorithm supports: File or Pipe.
|
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)
The input mode that the algorithm supports: File or Pipe.
|
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)
The input mode that the algorithm supports: File or Pipe.
|
HyperParameterAlgorithmSpecification |
withTrainingInputMode(TrainingInputMode trainingInputMode)
The input mode that the algorithm supports: File or Pipe.
|
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. Amazon 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. Amazon 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. Amazon 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. Amazon 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. Amazon 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)
The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
trainingInputMode
- The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads
the training data from Amazon S3 to the storage volume that is attached to the training instance and
mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker
streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
TrainingInputMode
public String getTrainingInputMode()
The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
TrainingInputMode
public HyperParameterAlgorithmSpecification withTrainingInputMode(String trainingInputMode)
The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
trainingInputMode
- The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads
the training data from Amazon S3 to the storage volume that is attached to the training instance and
mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker
streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
TrainingInputMode
public HyperParameterAlgorithmSpecification withTrainingInputMode(TrainingInputMode trainingInputMode)
The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
trainingInputMode
- The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads
the training data from Amazon S3 to the storage volume that is attached to the training instance and
mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker
streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
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.