The website is in Maintenance mode. We are in the process of adding more features.
Any new bookmarks, comments, or user profiles made during this time will not be saved.

Machine Learning Resources

What happens if a category has a zero frequency within a class, and how is this issue commonly addressed (Naive Bayes)?

Bookmark this question

If a feature appears zero times within a particular class, the computed likelihood score for an observation belonging to that class will be zero, even if the conditional probabilities are much higher for all other features, implying the observation should be assigned to that class. To address this issue, a common practice is to add a small number ? to the frequencies of each feature within each class in order to prevent a zero likelihood score being assigned to any class. 

Leave your Comments and Suggestions below:

Please Login or Sign Up to leave a comment

Partner Ad  

Find out all the ways
that you can

Explore Questions by Topics

Partner Ad

Learn Data Science with Travis - your AI-powered tutor |