1.1 - 8.10 - KNNRecommenderPredict Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 1.6

SELECT * FROM KNNRecommenderPredict (
  ON rating_table AS Ratings PARTITION BY userid_column
  ON weight_model_table AS Weights DIMENSION
  ON bias_model_table AS Bias DIMENSION
  [ USING
    [ UserIDColumn ('userid_column')
      ItemIDColumn ('itemid_column')
      RatingColumn ('rating_column')
    ]
    [ TopK (top_k_recommendations) ]
    [ ShowAll ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  ]
) AS alias;