public static interface TrainingSpecification.Builder extends SdkPojo, CopyableBuilder<TrainingSpecification.Builder,TrainingSpecification>
Modifier and Type | Method and Description |
---|---|
TrainingSpecification.Builder |
metricDefinitions(Collection<MetricDefinition> metricDefinitions)
A list of
MetricDefinition objects, which are used for parsing metrics generated by the
algorithm. |
TrainingSpecification.Builder |
metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)
A list of
MetricDefinition objects, which are used for parsing metrics generated by the
algorithm. |
TrainingSpecification.Builder |
metricDefinitions(MetricDefinition... metricDefinitions)
A list of
MetricDefinition objects, which are used for parsing metrics generated by the
algorithm. |
TrainingSpecification.Builder |
supportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
A list of the
HyperParameterSpecification objects, that define the supported hyperparameters. |
TrainingSpecification.Builder |
supportedHyperParameters(Consumer<HyperParameterSpecification.Builder>... supportedHyperParameters)
A list of the
HyperParameterSpecification objects, that define the supported hyperparameters. |
TrainingSpecification.Builder |
supportedHyperParameters(HyperParameterSpecification... supportedHyperParameters)
A list of the
HyperParameterSpecification objects, that define the supported hyperparameters. |
TrainingSpecification.Builder |
supportedTrainingInstanceTypes(Collection<TrainingInstanceType> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
|
TrainingSpecification.Builder |
supportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
|
TrainingSpecification.Builder |
supportedTrainingInstanceTypesWithStrings(Collection<String> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
|
TrainingSpecification.Builder |
supportedTrainingInstanceTypesWithStrings(String... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
|
TrainingSpecification.Builder |
supportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter
tuning job.
|
TrainingSpecification.Builder |
supportedTuningJobObjectiveMetrics(Consumer<HyperParameterTuningJobObjective.Builder>... supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter
tuning job.
|
TrainingSpecification.Builder |
supportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter
tuning job.
|
TrainingSpecification.Builder |
supportsDistributedTraining(Boolean supportsDistributedTraining)
Indicates whether the algorithm supports distributed training.
|
TrainingSpecification.Builder |
trainingChannels(ChannelSpecification... trainingChannels)
A list of
ChannelSpecification objects, which specify the input sources to be used by the
algorithm. |
TrainingSpecification.Builder |
trainingChannels(Collection<ChannelSpecification> trainingChannels)
A list of
ChannelSpecification objects, which specify the input sources to be used by the
algorithm. |
TrainingSpecification.Builder |
trainingChannels(Consumer<ChannelSpecification.Builder>... trainingChannels)
A list of
ChannelSpecification objects, which specify the input sources to be used by the
algorithm. |
TrainingSpecification.Builder |
trainingImage(String trainingImage)
The Amazon Amazon ECR registry path of the Docker image that contains the training algorithm.
|
TrainingSpecification.Builder |
trainingImageDigest(String trainingImageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
|
copy
applyMutation, build
TrainingSpecification.Builder trainingImage(String trainingImage)
The Amazon Amazon ECR registry path of the Docker image that contains the training algorithm.
trainingImage
- The Amazon Amazon ECR registry path of the Docker image that contains the training algorithm.TrainingSpecification.Builder trainingImageDigest(String trainingImageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
trainingImageDigest
- An MD5 hash of the training algorithm that identifies the Docker image used for training.TrainingSpecification.Builder supportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
A list of the HyperParameterSpecification
objects, that define the supported hyperparameters.
This is required if the algorithm supports automatic model tuning.>
supportedHyperParameters
- A list of the HyperParameterSpecification
objects, that define the supported
hyperparameters. This is required if the algorithm supports automatic model tuning.>TrainingSpecification.Builder supportedHyperParameters(HyperParameterSpecification... supportedHyperParameters)
A list of the HyperParameterSpecification
objects, that define the supported hyperparameters.
This is required if the algorithm supports automatic model tuning.>
supportedHyperParameters
- A list of the HyperParameterSpecification
objects, that define the supported
hyperparameters. This is required if the algorithm supports automatic model tuning.>TrainingSpecification.Builder supportedHyperParameters(Consumer<HyperParameterSpecification.Builder>... supportedHyperParameters)
A list of the HyperParameterSpecification
objects, that define the supported hyperparameters.
This is required if the algorithm supports automatic model tuning.>
List.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 #supportedHyperParameters(List)
.supportedHyperParameters
- a consumer that will call methods on List.Builder
#supportedHyperParameters(List)
TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings(Collection<String> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes
- A list of the instance types that this algorithm can use for training.TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings(String... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes
- A list of the instance types that this algorithm can use for training.TrainingSpecification.Builder supportedTrainingInstanceTypes(Collection<TrainingInstanceType> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes
- A list of the instance types that this algorithm can use for training.TrainingSpecification.Builder supportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes
- A list of the instance types that this algorithm can use for training.TrainingSpecification.Builder supportsDistributedTraining(Boolean supportsDistributedTraining)
Indicates whether the algorithm supports distributed training. If set to false, buyers can’t request more than one instance during training.
supportsDistributedTraining
- Indicates whether the algorithm supports distributed training. If set to false, buyers can’t request
more than one instance during training.TrainingSpecification.Builder metricDefinitions(Collection<MetricDefinition> metricDefinitions)
A list of MetricDefinition
objects, which are used for parsing metrics generated by the
algorithm.
metricDefinitions
- A list of MetricDefinition
objects, which are used for parsing metrics generated by the
algorithm.TrainingSpecification.Builder metricDefinitions(MetricDefinition... metricDefinitions)
A list of MetricDefinition
objects, which are used for parsing metrics generated by the
algorithm.
metricDefinitions
- A list of MetricDefinition
objects, which are used for parsing metrics generated by the
algorithm.TrainingSpecification.Builder metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)
A list of MetricDefinition
objects, which are used for parsing metrics generated by the
algorithm.
List.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)
TrainingSpecification.Builder trainingChannels(Collection<ChannelSpecification> trainingChannels)
A list of ChannelSpecification
objects, which specify the input sources to be used by the
algorithm.
trainingChannels
- A list of ChannelSpecification
objects, which specify the input sources to be used by the
algorithm.TrainingSpecification.Builder trainingChannels(ChannelSpecification... trainingChannels)
A list of ChannelSpecification
objects, which specify the input sources to be used by the
algorithm.
trainingChannels
- A list of ChannelSpecification
objects, which specify the input sources to be used by the
algorithm.TrainingSpecification.Builder trainingChannels(Consumer<ChannelSpecification.Builder>... trainingChannels)
A list of ChannelSpecification
objects, which specify the input sources to be used by the
algorithm.
List.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 #trainingChannels(List)
.trainingChannels
- a consumer that will call methods on List.Builder
#trainingChannels(List)
TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter tuning job.
supportedTuningJobObjectiveMetrics
- A list of the metrics that the alogorithm emits that can be used as the objective metric in a
hyperparameter tuning job.TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter tuning job.
supportedTuningJobObjectiveMetrics
- A list of the metrics that the alogorithm emits that can be used as the objective metric in a
hyperparameter tuning job.TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(Consumer<HyperParameterTuningJobObjective.Builder>... supportedTuningJobObjectiveMetrics)
A list of the metrics that the alogorithm emits that can be used as the objective metric in a hyperparameter tuning job.
This is a convenience 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 #supportedTuningJobObjectiveMetrics(List)
.supportedTuningJobObjectiveMetrics
- a consumer that will call methods on List.Builder
#supportedTuningJobObjectiveMetrics(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.