Question: 1. Try to construct an artificial example where a naive Bayes classifier can give divide-by-zero error in test cases when using empirical frequencies as probabilities.

1. Try to construct an artificial example where a naive Bayes classifier can give divide-by-zero error in test cases when using empirical frequencies as probabilities. Specify the network and the

(non-empty) training examples. [Hint: You can do it with two features, say A and B, and a binary classification, say C, that has domain {0, 1}. Construct a data set where the empirical probabilities give P(a|C = 0) = 0 and P(b|C = 1) = 0.] What observation is inconsistent with the model?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Management And Artificial Intelligence Questions!