@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-02T14:17:16.196Z") @Stability(value=Stable) public interface CfnSolutionProps 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.*;
Object autoMlConfig;
Object hpoConfig;
CfnSolutionProps cfnSolutionProps = CfnSolutionProps.builder()
.datasetGroupArn("datasetGroupArn")
.name("name")
// the properties below are optional
.eventType("eventType")
.performAutoMl(false)
.performHpo(false)
.recipeArn("recipeArn")
.solutionConfig(SolutionConfigProperty.builder()
.algorithmHyperParameters(Map.of(
"algorithmHyperParametersKey", "algorithmHyperParameters"))
.autoMlConfig(autoMlConfig)
.eventValueThreshold("eventValueThreshold")
.featureTransformationParameters(Map.of(
"featureTransformationParametersKey", "featureTransformationParameters"))
.hpoConfig(hpoConfig)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSolutionProps.Builder
A builder for
CfnSolutionProps |
static class |
CfnSolutionProps.Jsii$Proxy
An implementation for
CfnSolutionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSolutionProps.Builder |
builder() |
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
default String |
getEventType()
The event type (for example, 'click' or 'like') that is used for training the model.
|
String |
getName()
The name of the solution.
|
default Object |
getPerformAutoMl()
> We don't recommend enabling automated machine learning.
|
default Object |
getPerformHpo()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
default String |
getRecipeArn()
The ARN of the recipe used to create the solution.
|
default Object |
getSolutionConfig()
Describes the configuration properties for the solution.
|
@Stability(value=Stable) @NotNull String getDatasetGroupArn()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getEventType()
If no eventType is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
@Stability(value=Stable) @Nullable default Object getPerformAutoMl()
Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration ( recipeArn must not be specified). When false (the default), Amazon Personalize uses recipeArn for training.
@Stability(value=Stable) @Nullable default Object getPerformHpo()
The default is false .
@Stability(value=Stable) @Nullable default String getRecipeArn()
@Stability(value=Stable) @Nullable default Object getSolutionConfig()
@Stability(value=Stable) static CfnSolutionProps.Builder builder()
CfnSolutionProps.Builder of CfnSolutionPropsCopyright © 2023. All rights reserved.