7.00.02 - NaiveBayesTextClassifierPredict Syntax - 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)
Version 1.1
SELECT * FROM NaiveBayesTextClassifierPredict (
  ON input_table PARTITION BY doc_id_column 
  ON model_table DIMENSION
  InputTokenColumn ('token_column')
  [ ModelType ({ 'Multinomial' | 'Bernoulli' }) ]
  [ DocIDColumns ({ 'doc_id_column' | 'doc_id_column_range' }[,...])]
  [ ModelTokenColumn ('model_token_column')
    ModelCategoryColumn ('model_category_column')
    ModelProbColumn ('model_token_count_column') ]
  [ TopK ({ num_of_top_k_predictions | 'num_of_top_k_predictions' }) ]
);