interface CfnSolutionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Personalize.CfnSolutionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awspersonalize#CfnSolutionProps |
![]() | software.amazon.awscdk.services.personalize.CfnSolutionProps |
![]() | aws_cdk.aws_personalize.CfnSolutionProps |
![]() | aws-cdk-lib » aws_personalize » CfnSolutionProps |
Properties for defining a CfnSolution
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
declare const autoMlConfig: any;
declare const hpoConfig: any;
const cfnSolutionProps: personalize.CfnSolutionProps = {
datasetGroupArn: 'datasetGroupArn',
name: 'name',
// the properties below are optional
eventType: 'eventType',
performAutoMl: false,
performHpo: false,
recipeArn: 'recipeArn',
solutionConfig: {
algorithmHyperParameters: {
algorithmHyperParametersKey: 'algorithmHyperParameters',
},
autoMlConfig: autoMlConfig,
eventValueThreshold: 'eventValueThreshold',
featureTransformationParameters: {
featureTransformationParametersKey: 'featureTransformationParameters',
},
hpoConfig: hpoConfig,
},
};
Properties
Name | Type | Description |
---|---|---|
dataset | string | The Amazon Resource Name (ARN) of the dataset group that provides the training data. |
name | string | The name of the solution. |
event | string | The event type (for example, 'click' or 'like') that is used for training the model. |
perform | boolean | IResolvable | > We don't recommend enabling automated machine learning. |
perform | boolean | IResolvable | Whether to perform hyperparameter optimization (HPO) on the chosen recipe. |
recipe | string | The ARN of the recipe used to create the solution. |
solution | IResolvable | Solution | Describes the configuration properties for the solution. |
datasetGroupArn
Type:
string
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
name
Type:
string
The name of the solution.
eventType?
Type:
string
(optional)
The event type (for example, 'click' or 'like') that is used for training the model.
If no eventType
is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
performAutoMl?
Type:
boolean |
IResolvable
(optional)
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 ( recipeArn
must not be specified). When false (the default), Amazon Personalize uses recipeArn
for training.
performHpo?
Type:
boolean |
IResolvable
(optional)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
The default is false
.
recipeArn?
Type:
string
(optional)
The ARN of the recipe used to create the solution.
This is required when performAutoML
is false.
solutionConfig?
Type:
IResolvable
|
Solution
(optional)
Describes the configuration properties for the solution.