naive_bayes#
Source code: sensai/naive_bayes.py
- class CategoricalNaiveBayesVectorClassificationModel(pseudo_count=0.1)[source]#
Bases:
VectorClassificationModel
Naive Bayes with categorical features
- Parameters:
pseudo_count – the count to add to each empirical count in order to avoid overfitting