RECOMMEND Procedure

ADD Statement

The ADD statement is used to add a recommender system to the SAS LASR Analytic Server. If you do not provide a system name, the recommender system for the PROC RECOMMEND statement is used.

Requirement: The recommender system that you specify must not already exist in the SAS LASR Analytic Server.

Syntax

ADD <recommender-system> </ option(s)>;

Optional Argument

recommender-system

specifies the name of the recommender system to create.

Default Value provided for the SYSTEM= or RECOM= option in the PROC RECOMMEND statement. If no value is specified, the default value RECOM.SYSTEM is used.

ADD Statement Options

You can specify the following optional arguments after the slash (/) in the ADD statement. These options apply to the recommender system that is used by the ADD statement.

DATAFILTER="expression"

specifies an optional WHERE clause for the recommender system. All of the data is filtered by this WHERE clause.

DESCENDING=variable-name

DESCENDING=(variable-list)

specifies which variables of the ORDERBY= list are used with descending sort order. Specifying the DESCENDING= option by itself has no effect. The option is specified in addition to the ORDERBY= option.

Alias DESC=

ITEM=column-name

specifies the name of the column that contains item identification in the in-memory tables.

LABEL='string'

specifies a label that you can use to identify the recommender system. The label is returned in output from the SAS LASR Analytic Server.

ORDERBY=(variable-list)

specifies one or more variables to use for sorting ratings for a user or for an item in the derived tables. For example, you can specify a timestamp variable to arrange ratings in chronological order for each user or for each item. Separate multiple variables with a space.

PERMISSION=mode

specifies the permission setting for accessing the recommender system. The mode value is expressed as an integer, such as 755. The mode corresponds to the mode values that are used for UNIX file access permissions.

Alias PERM=
Default Permissions are set according to the UNIX file access permissions for the SAS LASR Analytic Server process.

RATING=column-name

specifies the name of the column that contains ratings in the in-memory tables.

Alias RATE=column-name

USER=column-name

specifies the name of the column that contains user identification in the in-memory tables.