1.0 - 8.00 - KNNRecommenderPredict Syntax - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 1.3

SELECT * FROM KNNRecommenderPredict (
  ON rating_table AS ratings { PARTITION BY ANY | 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) ]
  ]
) AS alias;