7.00.02 - Naive Bayes Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17
Version 1.3
CREATE TABLE model_table_name (PARTITION KEY(partition_column)) AS
  SELECT * FROM NaiveBayesReduce (
  ON (
    SELECT * FROM NaiveBayesMap (
    ON input_table 
      ResponseColumn ('response_column')
      NumericInputs ({ 'numeric_input_column' |
        'numeric_input_column_range' }[,...] )
      CategoricalInputs ({ 'categorical_input_column' |
         'categorical_input_column_range' }[,...] )
    )
  ) PARTITION BY partition_column 
);