Learn Before
Concept
Example of Naive Bayes: Thinking Process
Since we don't use unknown word models for Naive Bayes, the word 'with' should be dropped, and the remaining words are: “predictable”, “no”, and “fun”. For sentence S = “predictable with no fun”, the computations of probabilities are as follows. The model thus predicts the class negative for the test sentence.

0
1
Updated 2022-07-09
Tags
Data Science