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.

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 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 and do not need to be specified: Item.Id, ItemList[].Id, EventTimestamp, EventType, and EventValue.


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.

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 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 and do not need to be specified: Item.Id, ItemList[].Id, EventTimestamp, EventType, and EventValue.

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