Multivariate bernoulli naive bayes?

In multivariate bernoulli naive bayes how did prateek bhaiya added 2 to the denominator for laplace smoothing.

Hey Anshu, I think it has been explained well enough in the videos as to why it is done. Please view them again and if still you aren’t clear about it then specify what you don’t understand exactly

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.