Skip to content

/AWS1/CL_CUSRECOMMENDERCONFIG

Configuration settings that define the behavior and parameters of a recommender.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_eventsconfig TYPE REF TO /AWS1/CL_CUSEVENTSCONFIG /AWS1/CL_CUSEVENTSCONFIG

Configuration settings for how the recommender processes and uses events.

iv_trainingfrequency TYPE /AWS1/CUSRECOMMENDERCFGTRNFR00 /AWS1/CUSRECOMMENDERCFGTRNFR00

How often the recommender should retrain its model with new data. If set to 0, automatic retraining will not be enabled.

io_inferenceconfig TYPE REF TO /AWS1/CL_CUSINFERENCECONFIG /AWS1/CL_CUSINFERENCECONFIG

Configuration settings for how the recommender handles inference requests.

it_includedcolumns TYPE /AWS1/CL_CUSCOLUMNNAMESLIST_W=>TT_INCLUDEDCOLUMNS TT_INCLUDEDCOLUMNS

A map of dataset type to a list of column names to train on. The _webAnalytics and _catalogItem keys 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, and EventType for _webAnalytics; Id for _catalogItem. Mutually exclusive with ExcludedColumns — both cannot be specified in the same request.

it_excludedcolumns TYPE /AWS1/CL_CUSCOLUMNNAMESLIST_W=>TT_INCLUDEDCOLUMNS TT_INCLUDEDCOLUMNS

A map of dataset type to a list of column names to exclude from training. The _webAnalytics and _catalogItem keys 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, and EventType for _webAnalytics; Id for _catalogItem. Mutually exclusive with IncludedColumns — both cannot be specified in the same request.


Queryable Attributes

EventsConfig

Configuration settings for how the recommender processes and uses events.

Accessible with the following methods

Method Description
GET_EVENTSCONFIG() Getter for EVENTSCONFIG

TrainingFrequency

How often the recommender should retrain its model with new data. If set to 0, automatic retraining will not be enabled.

Accessible with the following methods

Method Description
GET_TRAININGFREQUENCY() Getter for TRAININGFREQUENCY, with configurable default
ASK_TRAININGFREQUENCY() Getter for TRAININGFREQUENCY w/ exceptions if field has no v
HAS_TRAININGFREQUENCY() Determine if TRAININGFREQUENCY has a value

InferenceConfig

Configuration settings for how the recommender handles inference requests.

Accessible with the following methods

Method Description
GET_INFERENCECONFIG() Getter for INFERENCECONFIG

IncludedColumns

A map of dataset type to a list of column names to train on. The _webAnalytics and _catalogItem keys 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, and EventType for _webAnalytics; Id for _catalogItem. Mutually exclusive with ExcludedColumns — both cannot be specified in the same request.

Accessible with the following methods

Method Description
GET_INCLUDEDCOLUMNS() Getter for INCLUDEDCOLUMNS, with configurable default
ASK_INCLUDEDCOLUMNS() Getter for INCLUDEDCOLUMNS w/ exceptions if field has no val
HAS_INCLUDEDCOLUMNS() Determine if INCLUDEDCOLUMNS has a value

ExcludedColumns

A map of dataset type to a list of column names to exclude from training. The _webAnalytics and _catalogItem keys 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, and EventType for _webAnalytics; Id for _catalogItem. Mutually exclusive with IncludedColumns — both cannot be specified in the same request.

Accessible with the following methods

Method Description
GET_EXCLUDEDCOLUMNS() Getter for EXCLUDEDCOLUMNS, with configurable default
ASK_EXCLUDEDCOLUMNS() Getter for EXCLUDEDCOLUMNS w/ exceptions if field has no val
HAS_EXCLUDEDCOLUMNS() Determine if EXCLUDEDCOLUMNS has a value