@Stability(value=Stable)
public static interface CfnSolution.HpoConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSolution.HpoConfigProperty.Builder
A builder for
CfnSolution.HpoConfigProperty |
static class |
CfnSolution.HpoConfigProperty.Jsii$Proxy
An implementation for
CfnSolution.HpoConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSolution.HpoConfigProperty.Builder |
builder() |
default Object |
getAlgorithmHyperParameterRanges()
The hyperparameters and their allowable ranges.
|
default Object |
getHpoObjective()
The metric to optimize during HPO.
|
default Object |
getHpoResourceConfig()
Describes the resource configuration for HPO.
|
@Stability(value=Stable) @Nullable default Object getAlgorithmHyperParameterRanges()
@Stability(value=Stable) @Nullable default Object getHpoObjective()
Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.
@Stability(value=Stable) @Nullable default Object getHpoResourceConfig()
@Stability(value=Stable) static CfnSolution.HpoConfigProperty.Builder builder()
Copyright © 2023. All rights reserved.