Interface CfnSolution.HpoConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSolution.HpoConfigProperty.Jsii$Proxy
- Enclosing class:
CfnSolution
@Stability(Stable)
public static interface CfnSolution.HpoConfigProperty
extends software.amazon.jsii.JsiiSerializable
Describes the properties for hyperparameter optimization (HPO).
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.personalize.*;
HpoConfigProperty hpoConfigProperty = HpoConfigProperty.builder()
.algorithmHyperParameterRanges(AlgorithmHyperParameterRangesProperty.builder()
.categoricalHyperParameterRanges(List.of(CategoricalHyperParameterRangeProperty.builder()
.name("name")
.values(List.of("values"))
.build()))
.continuousHyperParameterRanges(List.of(ContinuousHyperParameterRangeProperty.builder()
.maxValue(123)
.minValue(123)
.name("name")
.build()))
.integerHyperParameterRanges(List.of(IntegerHyperParameterRangeProperty.builder()
.maxValue(123)
.minValue(123)
.name("name")
.build()))
.build())
.hpoObjective(HpoObjectiveProperty.builder()
.metricName("metricName")
.metricRegex("metricRegex")
.type("type")
.build())
.hpoResourceConfig(HpoResourceConfigProperty.builder()
.maxNumberOfTrainingJobs("maxNumberOfTrainingJobs")
.maxParallelTrainingJobs("maxParallelTrainingJobs")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSolution.HpoConfigPropertystatic final classAn implementation forCfnSolution.HpoConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlgorithmHyperParameterRanges
The hyperparameters and their allowable ranges.Returns union: either
IResolvableorCfnSolution.AlgorithmHyperParameterRangesProperty- See Also:
-
getHpoObjective
The metric to optimize during HPO.Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.Returns union: either
IResolvableorCfnSolution.HpoObjectiveProperty- See Also:
-
getHpoResourceConfig
Describes the resource configuration for HPO.Returns union: either
IResolvableorCfnSolution.HpoResourceConfigProperty- See Also:
-
builder
-