NaiveBayesPredict Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Version 1.10

This function requires "@coprocessor".
SELECT * FROM NaiveBayesPredict@coprocessor (
  ON { table | view | (query) } AS InputTable PARTITION BY ANY
  ON { table | view | (query) } AS model DIMENSION
  USING
  IDCol ('test_point_id_col')
  NumericInputs ({ 'numeric_input_column' | numeric_input_column_range }[,...] )
  CategoricalInputs ({ 'categorical_input_column' | categorical_input_column_range }[,...] )
  Responses ('response' [,...])
) AS alias;