taspinar / siml

Machine Learning algorithms implemented from scratch
http://www.ataspinar.com
MIT License
484 stars 259 forks source link

Bayesian : do you have capability to not crush calculations when there is observations in test data not seen in train data #7

Open Sandy4321 opened 4 years ago

Sandy4321 commented 4 years ago

regarding to Bayesian for categorical data https://github.com/taspinar/siml/blob/master/siml/naive_bayes.py do you have capability to not crush calculations when there is observations in test data not seen in train data seems to be this one https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.CategoricalNB.html#sklearn.naive_bayes.CategoricalNB

dose not