Conditional Probability - The Naive Bayes Algorithm - Additive Smoothing

The formula doesn’t restrict including “code”, “to”, “unlock” despite them being not included in our answer calculation. I think a restriction should explicitly be mentioned - due to these words not being part of the global vocabulary.

Hi @syednoumanhasany1997, we already talk about this on the screen preceding the one you mentioned:

Is this the kind of restriction you were thinking of?