The PREDICT statement generates recommendations (predictions) for one or more users.
You can specify the following options in the PREDICT statement after the slash (/):
specifies the optional filter (WHERE clause) for this recommendation. The recommended items are filtered by the expression.
specifies the in-memory table that contains the new transaction data for items. This table can be used when you specify METHOD=ARM to recommend new items based on users' new activities on items.
specifies the label that is assigned to the desired method of computing recommendations.
specifies the method to use for computing recommendations. If the requested method is not yet defined for the recommender system, then the SAS LASR Analytic Server adds the method with default parameters and computes the recommendation. For more information, see METHOD Statement.
specifies the upper limit for the number of recommendations that are returned per user.
Alias | NUM= |
Default | 10 |
specifies a SAS data set that stores recommendations.
Alias | OUTDATA= |
specifies the name of the recommender system in the SAS LASR Analytic Server that the procedure works with. Specify a two-level name, similar to a LIBNAME.MEMBER construct.
Alias | RECOM= |
Default | RECOM.SYSTEM |
specifies to store the recommendations in a temporary table in the server.
specifies an in-memory table that contains the user IDs for which you want recommendations.
specifies the user IDs for which you want recommendations. This is a convenient format if you want recommendations for only a small number of users.
Alias | USERS= |
Interaction | If a value is also specified for USERDATA, then only the USERDATA table is used. |