<p dir="auto">Bayesian classifier for categorical data when we have observations in test data that not present in train data</p>
<p dir="auto">can not believe you do not have it</p>
<p dir="auto">since in real live it is always  the case</p>
<h4 dir="auto">Describe the bug</h4>
<p dir="auto">NB crashes when there is data in test data  what was not used in train data<br>
<a href="https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.CategoricalNB.html#sklearn.naive_bayes.CategoricalNB" rel="nofollow">https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.CategoricalNB.html#sklearn.naive_bayes.CategoricalNB</a></p>
<p dir="auto">in real live test data values  are different from train data</p>