public static interface HyperParameterSpecification.Builder extends SdkPojo, CopyableBuilder<HyperParameterSpecification.Builder,HyperParameterSpecification>
Modifier and Type | Method and Description |
---|---|
HyperParameterSpecification.Builder |
defaultValue(String defaultValue)
The default value for this hyperparameter.
|
HyperParameterSpecification.Builder |
description(String description)
A brief description of the hyperparameter.
|
HyperParameterSpecification.Builder |
isRequired(Boolean isRequired)
Indicates whether this hyperparameter is required.
|
HyperParameterSpecification.Builder |
isTunable(Boolean isTunable)
Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.
|
HyperParameterSpecification.Builder |
name(String name)
The name of this hyperparameter.
|
default HyperParameterSpecification.Builder |
range(Consumer<ParameterRange.Builder> range)
The allowed range for this hyperparameter.
|
HyperParameterSpecification.Builder |
range(ParameterRange range)
The allowed range for this hyperparameter.
|
HyperParameterSpecification.Builder |
type(ParameterType type)
The type of this hyperparameter.
|
HyperParameterSpecification.Builder |
type(String type)
The type of this hyperparameter.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
HyperParameterSpecification.Builder name(String name)
The name of this hyperparameter. The name must be unique.
name
- The name of this hyperparameter. The name must be unique.HyperParameterSpecification.Builder description(String description)
A brief description of the hyperparameter.
description
- A brief description of the hyperparameter.HyperParameterSpecification.Builder type(String type)
The type of this hyperparameter. The valid types are Integer
, Continuous
,
Categorical
, and FreeText
.
type
- The type of this hyperparameter. The valid types are Integer
, Continuous
,
Categorical
, and FreeText
.ParameterType
,
ParameterType
HyperParameterSpecification.Builder type(ParameterType type)
The type of this hyperparameter. The valid types are Integer
, Continuous
,
Categorical
, and FreeText
.
type
- The type of this hyperparameter. The valid types are Integer
, Continuous
,
Categorical
, and FreeText
.ParameterType
,
ParameterType
HyperParameterSpecification.Builder range(ParameterRange range)
The allowed range for this hyperparameter.
range
- The allowed range for this hyperparameter.default HyperParameterSpecification.Builder range(Consumer<ParameterRange.Builder> range)
The allowed range for this hyperparameter.
This is a convenience method that creates an instance of theParameterRange.Builder
avoiding the need
to create one manually via ParameterRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to range(ParameterRange)
.
range
- a consumer that will call methods on ParameterRange.Builder
range(ParameterRange)
HyperParameterSpecification.Builder isTunable(Boolean isTunable)
Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.
isTunable
- Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.HyperParameterSpecification.Builder isRequired(Boolean isRequired)
Indicates whether this hyperparameter is required.
isRequired
- Indicates whether this hyperparameter is required.HyperParameterSpecification.Builder defaultValue(String defaultValue)
The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.
defaultValue
- The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be
required.Copyright © 2023. All rights reserved.