RecommenderConfig
Configuration settings that define the behavior and parameters of a recommender.
Contents
- DiversityConfig
-
Configuration for diversity-aware recommendations. When set, the recommender applies diversity constraints defined per item column to reduce over-concentration of similar items in the results.
Type: DiversityConfig object
Required: No
- EventsConfig
-
Configuration settings for how the recommender processes and uses events.
Type: EventsConfig object
Required: No
- ExcludedColumns
-
A map of dataset type to a list of column names to exclude from training. The
_webAnalyticsand_catalogItemkeys are supported. The column names must be valid columns defined in the recommender schema. All columns in the schema except the listed columns will be used for training. The following columns are mandatory and cannot be excluded:Item.Id,EventTimestamp, andEventTypefor_webAnalytics;Idfor_catalogItem. Mutually exclusive with IncludedColumns — both cannot be specified in the same request.Type: String to array of strings map
Map Entries: Maximum number of 2 items.
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Length Constraints: Minimum length of 1. Maximum length of 1000.
Required: No
- IncludedColumns
-
A map of dataset type to a list of column names to train on. The
_webAnalyticsand_catalogItemkeys are supported. The column names must be a subset of the columns defined in the recommender schema. If not specified, all columns in the schema are used for training. The following columns are always included in training and do not need to be specified:Item.Id,EventTimestamp, andEventTypefor_webAnalytics;Idfor_catalogItem. Mutually exclusive with ExcludedColumns — both cannot be specified in the same request.Type: String to array of strings map
Map Entries: Maximum number of 2 items.
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Length Constraints: Minimum length of 1. Maximum length of 1000.
Required: No
- InferenceConfig
-
Configuration settings for how the recommender handles inference requests.
Type: InferenceConfig object
Required: No
- TrainingFrequency
-
How often the recommender should retrain its model with new data. If set to 0, automatic retraining will not be enabled.
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 30.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: