TD_NaiveBayesTextClassifierTrainer (
ON { table | view | (query) } AS InputTable
[ OUT [ PERMANENT | VOLATILE ] TABLE ModelTable (model_table_name) ]
USING
TokenColumn ('token_column')
DocCategoryColumn ('doc_category_column')
[{
[ ModelType ('Multinomial') ]
}
|
{
ModelType ('Bernoulli')
DocIDColumn ('doc_id_column')
}]
)
You can call this function from:
- The FROM clause of a SELECT statement
- As part of a CREATE TABLE statement
- As part of a CREATE VIEW statement