TD_NaiveBayesTextClassifierTrainer Input - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Input Table Schema

Column Data Type Description
doc_id_column BYTEINT/SMALLINT/INTEGER/BIGINT or CHAR/VARCHAR The InputTable column name that contains the document identifier.
This column is required for 'Bernoulli' model type.
token_column CHAR or VARCHAR The column name that contains the classified training tokens from a tokenization function.
doc_category_column CHAR or VARCHAR The category of the document.
The following vocabulary token names are reserved:
  • NAIVE_BAYES_TEXT_MODEL_TYPE
  • NAIVE_BAYES_PRIOR_PROBABILITY
  • NAIVE_BAYES_MISSING_TOKEN_PROBABILITY