do you have code for Bayesian classifier for categorical data?
Sandy4321 opened this issue · 0 comments
Sandy4321 commented
do you have code for Bayesian classifier for categorical data?
It is ridiculous, but nobody have such a practical code
even scikit learn added recently one but ,
this code crashes, when there is new observation in test data, which was not seen in train data
https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.CategoricalNB.html#sklearn.naive_bayes.CategoricalNB
and if you have , is it plain python code or PyMC code?