7.00.02 - KNNRecommenderPredict Arguments - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
UserIDColumn
[Optional] Specifies the user_rating_table column that contains the user IDs. The default is the first column in the rating table.
You must specify either all or none of UserIDColumn, ItemIDColumn, and RatingColumn. If you specified them in the KNNRecommenderTrain call that generated the weights and bias tables that the KNNRecommenderPredict call uses, you must specify them in the KNNRecommenderPredict call, with the same values.
ItemIDColumn
[Optional] Specifies the user_rating_table column that contains the item IDs. The default is the second column in the rating table.
RatingColumn
[Optional] Specifies the user_rating_table column that contains the ratings. The default is the third column in the rating table.
TopK
[Optional] Specifies the number of items to recommend for each user. The function recommends the top_k_recommendations highest-rated items. Default: 3.