Interface CfnSolution.HpoObjectiveProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSolution.HpoObjectiveProperty.Jsii$Proxy
- Enclosing class:
CfnSolution
@Stability(Stable)
public static interface CfnSolution.HpoObjectiveProperty
extends software.amazon.jsii.JsiiSerializable
The metric to optimize during hyperparameter optimization (HPO).
Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.
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.*;
HpoObjectiveProperty hpoObjectiveProperty = HpoObjectiveProperty.builder()
.metricName("metricName")
.metricRegex("metricRegex")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSolution.HpoObjectivePropertystatic final classAn implementation forCfnSolution.HpoObjectiveProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricName
The name of the metric.- See Also:
-
getMetricRegex
A regular expression for finding the metric in the training job logs.- See Also:
-
getType
The type of the metric.Valid values are
MaximizeandMinimize.- See Also:
-
builder
-