TD_NaiveBayesTextClassifierPredict Output - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantage™

Output Table Schema

Column Data Type Description
doc_id CHARACTER, VARCHAR, INTEGER, or SMALLINT Single- or multiple-column document identifier.
prediction VARCHAR Prediction category.
loglik DOUBLE PRECISION Loglikelihood that document belongs to category.
loglik_response DOUBLE PRECISION [Column appears only with Responses syntax element. Loglikelihood that document belongs to class label response.
prob DOUBLE PRECISION [Column appears only when you both specify OutputProb ('true') and omit Responses.] Probability that document belongs to class label in prediction column, which is max(softmax(loglik)).
prob_response DOUBLE PRECISION [Column appears only when you specify both OutputProb ('true') and Responses. Column appears once for each specified response.] Probability that document belongs to class label response, which is softmax(loglik_response).
accumulate_column Same as in PredictorValues table Column copied from PredictorValues table.