NaiveBayesTextClassifierTrainer version 1.9, NaiveBayesTextClassifierInternal version 1.7
SELECT * FROM NaiveBayesTextClassifierTrainer (
ON NaiveBayesTextClassifierInternal (
ON input_table AS InputTable PARTITION BY doc_category_column
[ ON categories_table AS CategoriesTable DIMENSION ]
[ ON stop_words_table AS StopWords DIMENSION ]
USING
TokenColumn ('token_column')
[ ModelType ({ 'Multinomial' | 'Bernoulli' }) ]
[ DocIDColumns ({ 'doc_id_column' | doc_id_column_range }[,...])]
DocCategoryColumn ('doc_category_column')
[ CategoryColumn ('category_column') | Categories ('category' [,...]) ]
[ StopWordsColumn ('stop_words_column') | StopWordsList ('word' [,...]) ]
) AS alias_1 PARTITION BY 1
) AS alias_2;