Interface CfnSolutionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSolutionMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.personalize.*;
Object autoMlConfig;
Object hpoConfig;
CfnSolutionMixinProps cfnSolutionMixinProps = CfnSolutionMixinProps.builder()
.datasetGroupArn("datasetGroupArn")
.eventType("eventType")
.name("name")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSolutionMixinPropsstatic final classAn implementation forCfnSolutionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the dataset group that provides the training data.default StringThe event type (for example, 'click' or 'like') that is used for training the model.default StringgetName()The name of the solution.default Objectdefault ObjectWhether to perform hyperparameter optimization (HPO) on the chosen recipe.default StringThe ARN of the recipe used to create the solution.default ObjectDescribes the configuration properties for the solution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data.- See Also:
-
getEventType
The event type (for example, 'click' or 'like') that is used for training the model.If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.- See Also:
-
getName
The name of the solution.- See Also:
-
getPerformAutoMl
We don't recommend enabling automated machine learning.
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 (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training.Returns union: either
BooleanorIResolvable- See Also:
-
getPerformHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false.Returns union: either
BooleanorIResolvable- See Also:
-
getRecipeArn
The ARN of the recipe used to create the solution.This is required when
performAutoMLis false.- See Also:
-
getSolutionConfig
Describes the configuration properties for the solution.Returns union: either
IResolvableorCfnSolutionPropsMixin.SolutionConfigProperty- See Also:
-
builder
- Returns:
- a
CfnSolutionMixinProps.BuilderofCfnSolutionMixinProps
-