public static interface HyperParameterAlgorithmSpecification.Builder extends SdkPojo, CopyableBuilder<HyperParameterAlgorithmSpecification.Builder,HyperParameterAlgorithmSpecification>
| Modifier and Type | Method and Description |
|---|---|
HyperParameterAlgorithmSpecification.Builder |
algorithmName(String algorithmName)
The name of the resource algorithm to use for the hyperparameter tuning job.
|
HyperParameterAlgorithmSpecification.Builder |
metricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
|
HyperParameterAlgorithmSpecification.Builder |
metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
|
HyperParameterAlgorithmSpecification.Builder |
metricDefinitions(MetricDefinition... metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
|
HyperParameterAlgorithmSpecification.Builder |
trainingImage(String trainingImage)
The registry path of the Docker image that contains the training algorithm.
|
HyperParameterAlgorithmSpecification.Builder |
trainingInputMode(String trainingInputMode)
Sets the value of the TrainingInputMode property for this object.
|
HyperParameterAlgorithmSpecification.Builder |
trainingInputMode(TrainingInputMode trainingInputMode)
Sets the value of the TrainingInputMode property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHyperParameterAlgorithmSpecification.Builder trainingImage(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.HyperParameterAlgorithmSpecification.Builder trainingInputMode(String trainingInputMode)
trainingInputMode - The new value for the TrainingInputMode property for this object.TrainingInputMode,
TrainingInputModeHyperParameterAlgorithmSpecification.Builder trainingInputMode(TrainingInputMode trainingInputMode)
trainingInputMode - The new value for the TrainingInputMode property for this object.TrainingInputMode,
TrainingInputModeHyperParameterAlgorithmSpecification.Builder algorithmName(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.HyperParameterAlgorithmSpecification.Builder metricDefinitions(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.HyperParameterAlgorithmSpecification.Builder metricDefinitions(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.HyperParameterAlgorithmSpecification.Builder metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
This is a convenience method that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #metricDefinitions(List) .metricDefinitions - a consumer that will call methods on List.Builder #metricDefinitions(List) Copyright © 2022. All rights reserved.