1.1 - 8.10 - NaiveBayesTextClassifierPredict_MLE Syntax Elements - 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)
InputTokenColumn
Specify the name of the InputTable column that contains the tokens.
ModelType
[Optional] Specify the model type of the text classifier.
Default: 'Multinomial'
DocIDColumns
Specify the names of the InputTable columns that contain the document identifier.
ModelTokenColumn
[Optional] Specify the name of the Model table column that contains the tokens.
Default: First column of Model table
ModelCategoryColumn
[Optional] Specify the name of the Model table column that contains the prediction categories.
Default: Second column of Model table
ModelProbColumn
[Optional] Specify the name of the Model table column that contains the token counts.
Default: Third column of Model table
TopK
[Disallowed with Responses, otherwise optional.] Specify the number of class labels to appear in the output table. For each observation, num_of_top_k_predictions appear in the output table, corresponding to the num_of_top_k_predictions most likely classes. To see the probability of each class, use OutputProb ('true').
Default: All prediction categories
OutputProb
Specify whether to output the calculated probability for each observation.
Default: 'false'
Responses
[Disallowed with TopK, otherwise optional.] Specify the labels for which to output probabilities.
Default behavior: Output only the probability of the predicted class.
Accumulate
Specify the names of the PredictorValues table columns to copy to the output table.
Specify either all or none of the syntax elements ModelTokenColumn, ModelCategoryColumn, and ModelProbColumn.