AutoMLConfigProperty Struct
When the solution performs AutoML ( performAutoML is true in CreateSolution ), Amazon Personalize determines which recipe, from the specified list, optimizes the given metric. Amazon Personalize then uses that recipe for the solution.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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';
const autoMLConfigProperty: personalize.CfnSolution.AutoMLConfigProperty = {
metricName: 'metricName',
recipeList: ['recipeList'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_personalize as personalize
auto_ml_config_property = personalize.CfnSolution.AutoMLConfigProperty(
metric_name="metricName",
recipe_list=["recipeList"]
)
java
// 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.*;
AutoMLConfigProperty autoMLConfigProperty = AutoMLConfigProperty.builder()
.metricName("metricName")
.recipeList(List.of("recipeList"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 autoMLConfigProperty = new AutoMLConfigProperty {
MetricName = "metricName",
RecipeList = new [] { "recipeList" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
autoMLConfigProperty := &AutoMLConfigProperty{
MetricName: jsii.String("metricName"),
RecipeList: []*string{
jsii.String("recipeList"),
},
}
Properties
metricNameoptionalstringmetric_nameoptionalstrmetricNameoptionalStringMetricNameoptionalstringMetricNameoptional*string #The metric to optimize.
recipeListoptionalstring[]recipe_listoptionaltyping.List[str]recipeListoptionalList<String>RecipeListoptionalstring[]RecipeListoptional*[]*string #The list of candidate recipes.