Description
Bernoulli NaiveBayes expects input features to take values 0 or 1, but it does not actually check that. It should check and throw an exception if it finds invalid values.
Bernoulli NaiveBayes expects input features to take values 0 or 1, but it does not actually check that. It should check and throw an exception if it finds invalid values.