Interface ICfnSolutionProps
Properties for defining a CfnSolution
.
Namespace: Amazon.CDK.AWS.Personalize
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSolutionProps
Syntax (vb)
Public Interface ICfnSolutionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Personalize;
var autoMlConfig;
var hpoConfig;
var cfnSolutionProps = new CfnSolutionProps {
DatasetGroupArn = "datasetGroupArn",
Name = "name",
// the properties below are optional
EventType = "eventType",
PerformAutoMl = false,
PerformHpo = false,
RecipeArn = "recipeArn",
SolutionConfig = new SolutionConfigProperty {
AlgorithmHyperParameters = new Dictionary<string, string> {
{ "algorithmHyperParametersKey", "algorithmHyperParameters" }
},
AutoMlConfig = autoMlConfig,
EventValueThreshold = "eventValueThreshold",
FeatureTransformationParameters = new Dictionary<string, string> {
{ "featureTransformationParametersKey", "featureTransformationParameters" }
},
HpoConfig = hpoConfig
}
};
Synopsis
Properties
Dataset |
The Amazon Resource Name (ARN) of the dataset group that provides the training data. |
Event |
The event type (for example, 'click' or 'like') that is used for training the model. |
Name | The name of the solution. |
Perform |
We don't recommend enabling automated machine learning. |
Perform |
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. |
Recipe |
The ARN of the recipe used to create the solution. |
Solution |
Describes the configuration properties for the solution. |
Properties
DatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
string DatasetGroupArn { get; }
Property Value
System.
Remarks
EventType
The event type (for example, 'click' or 'like') that is used for training the model.
virtual string EventType { get; }
Property Value
System.
Remarks
If no eventType
is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
Name
The name of the solution.
string Name { get; }
Property Value
System.
Remarks
PerformAutoMl
We don't recommend enabling automated machine learning.
virtual object PerformAutoMl { get; }
Property Value
System.
Remarks
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
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
virtual object PerformHpo { get; }
Property Value
System.
Remarks
RecipeArn
The ARN of the recipe used to create the solution.
virtual string RecipeArn { get; }
Property Value
System.
Remarks
This is required when performAutoML
is false.
SolutionConfig
Describes the configuration properties for the solution.
virtual object SolutionConfig { get; }
Property Value
System.