public static interface CreateHyperParameterTuningJobRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateHyperParameterTuningJobRequest.Builder,CreateHyperParameterTuningJobRequest>
Modifier and Type | Method and Description |
---|---|
default CreateHyperParameterTuningJobRequest.Builder |
hyperParameterTuningJobConfig(Consumer<HyperParameterTuningJobConfig.Builder> hyperParameterTuningJobConfig)
The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy,
the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for
the tuning job.
|
CreateHyperParameterTuningJobRequest.Builder |
hyperParameterTuningJobConfig(HyperParameterTuningJobConfig hyperParameterTuningJobConfig)
The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy,
the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for
the tuning job.
|
CreateHyperParameterTuningJobRequest.Builder |
hyperParameterTuningJobName(String hyperParameterTuningJobName)
The name of the tuning job.
|
CreateHyperParameterTuningJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateHyperParameterTuningJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateHyperParameterTuningJobRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateHyperParameterTuningJobRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs.
|
CreateHyperParameterTuningJobRequest.Builder |
tags(Tag... tags)
An array of key-value pairs.
|
default CreateHyperParameterTuningJobRequest.Builder |
trainingJobDefinition(Consumer<HyperParameterTrainingJobDefinition.Builder> trainingJobDefinition)
The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job
launches, including static hyperparameters, input data configuration, output data configuration, resource
configuration, and stopping condition.
|
CreateHyperParameterTuningJobRequest.Builder |
trainingJobDefinition(HyperParameterTrainingJobDefinition trainingJobDefinition)
The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job
launches, including static hyperparameters, input data configuration, output data configuration, resource
configuration, and stopping condition.
|
CreateHyperParameterTuningJobRequest.Builder |
trainingJobDefinitions(Collection<HyperParameterTrainingJobDefinition> trainingJobDefinitions)
|
CreateHyperParameterTuningJobRequest.Builder |
trainingJobDefinitions(Consumer<HyperParameterTrainingJobDefinition.Builder>... trainingJobDefinitions)
This is a convenience that creates an instance of the
avoiding the need to create one manually via . |
CreateHyperParameterTuningJobRequest.Builder |
trainingJobDefinitions(HyperParameterTrainingJobDefinition... trainingJobDefinitions)
|
default CreateHyperParameterTuningJobRequest.Builder |
warmStartConfig(Consumer<HyperParameterTuningJobWarmStartConfig.Builder> warmStartConfig)
Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs
as a starting point.
|
CreateHyperParameterTuningJobRequest.Builder |
warmStartConfig(HyperParameterTuningJobWarmStartConfig warmStartConfig)
Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs
as a starting point.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateHyperParameterTuningJobRequest.Builder hyperParameterTuningJobName(String hyperParameterTuningJobName)
The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same AWS account and AWS Region. The name must have { } to { } characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.
hyperParameterTuningJobName
- The name of the tuning job. This name is the prefix for the names of all training jobs that this
tuning job launches. The name must be unique within the same AWS account and AWS Region. The name must
have { } to { } characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
is not case sensitive.CreateHyperParameterTuningJobRequest.Builder hyperParameterTuningJobConfig(HyperParameterTuningJobConfig hyperParameterTuningJobConfig)
The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for the tuning job. For more information, see automatic-model-tuning
hyperParameterTuningJobConfig
- The HyperParameterTuningJobConfig object that describes the tuning job, including the search
strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and
resource limits for the tuning job. For more information, see automatic-model-tuningdefault CreateHyperParameterTuningJobRequest.Builder hyperParameterTuningJobConfig(Consumer<HyperParameterTuningJobConfig.Builder> hyperParameterTuningJobConfig)
The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for the tuning job. For more information, see automatic-model-tuning
This is a convenience that creates an instance of theHyperParameterTuningJobConfig.Builder
avoiding
the need to create one manually via HyperParameterTuningJobConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to hyperParameterTuningJobConfig(HyperParameterTuningJobConfig)
.hyperParameterTuningJobConfig
- a consumer that will call methods on HyperParameterTuningJobConfig.Builder
hyperParameterTuningJobConfig(HyperParameterTuningJobConfig)
CreateHyperParameterTuningJobRequest.Builder trainingJobDefinition(HyperParameterTrainingJobDefinition trainingJobDefinition)
The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job launches, including static hyperparameters, input data configuration, output data configuration, resource configuration, and stopping condition.
trainingJobDefinition
- The HyperParameterTrainingJobDefinition object that describes the training jobs that this
tuning job launches, including static hyperparameters, input data configuration, output data
configuration, resource configuration, and stopping condition.default CreateHyperParameterTuningJobRequest.Builder trainingJobDefinition(Consumer<HyperParameterTrainingJobDefinition.Builder> trainingJobDefinition)
The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job launches, including static hyperparameters, input data configuration, output data configuration, resource configuration, and stopping condition.
This is a convenience that creates an instance of theHyperParameterTrainingJobDefinition.Builder
avoiding the need to create one manually via HyperParameterTrainingJobDefinition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to trainingJobDefinition(HyperParameterTrainingJobDefinition)
.trainingJobDefinition
- a consumer that will call methods on HyperParameterTrainingJobDefinition.Builder
trainingJobDefinition(HyperParameterTrainingJobDefinition)
CreateHyperParameterTuningJobRequest.Builder trainingJobDefinitions(Collection<HyperParameterTrainingJobDefinition> trainingJobDefinitions)
trainingJobDefinitions
- CreateHyperParameterTuningJobRequest.Builder trainingJobDefinitions(HyperParameterTrainingJobDefinition... trainingJobDefinitions)
trainingJobDefinitions
- CreateHyperParameterTuningJobRequest.Builder trainingJobDefinitions(Consumer<HyperParameterTrainingJobDefinition.Builder>... trainingJobDefinitions)
.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #trainingJobDefinitions(List)
.trainingJobDefinitions
- a consumer that will call methods on List.Builder
#trainingJobDefinitions(List)
CreateHyperParameterTuningJobRequest.Builder warmStartConfig(HyperParameterTuningJobWarmStartConfig warmStartConfig)
Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.
All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective metric.
If you specify IDENTICAL_DATA_AND_ALGORITHM
as the WarmStartType
value for the warm
start configuration, the training job that performs the best in the new tuning job is compared to the best
training jobs from the parent tuning jobs. From these, the training job that performs the best as measured by
the objective metric is returned as the overall best training job.
All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.
warmStartConfig
- Specifies the configuration for starting the hyperparameter tuning job using one or more previous
tuning jobs as a starting point. The results of previous tuning jobs are used to inform which
combinations of hyperparameters to search over in the new tuning job.
All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective
metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
as the WarmStartType
value for the warm start configuration, the training job that performs the best in the new tuning job
is compared to the best training jobs from the parent tuning jobs. From these, the training job that
performs the best as measured by the objective metric is returned as the overall best training job.
All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.
default CreateHyperParameterTuningJobRequest.Builder warmStartConfig(Consumer<HyperParameterTuningJobWarmStartConfig.Builder> warmStartConfig)
Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.
All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective metric.
If you specify IDENTICAL_DATA_AND_ALGORITHM
as the WarmStartType
value for the warm
start configuration, the training job that performs the best in the new tuning job is compared to the best
training jobs from the parent tuning jobs. From these, the training job that performs the best as measured by
the objective metric is returned as the overall best training job.
All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.
HyperParameterTuningJobWarmStartConfig.Builder
avoiding the need to create one manually via
HyperParameterTuningJobWarmStartConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to warmStartConfig(HyperParameterTuningJobWarmStartConfig)
.warmStartConfig
- a consumer that will call methods on HyperParameterTuningJobWarmStartConfig.Builder
warmStartConfig(HyperParameterTuningJobWarmStartConfig)
CreateHyperParameterTuningJobRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see AWS Tagging Strategies.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
tags
- An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for
example, by purpose, owner, or environment. For more information, see AWS Tagging
Strategies.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
CreateHyperParameterTuningJobRequest.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see AWS Tagging Strategies.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
tags
- An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for
example, by purpose, owner, or environment. For more information, see AWS Tagging
Strategies.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
CreateHyperParameterTuningJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see AWS Tagging Strategies.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateHyperParameterTuningJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateHyperParameterTuningJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.