205k views
12 votes
Which of the following answers is incorrect regarding the Naive Bayes algorithm?

Select the best answer (as an incorrect claim)

Select one:

A.
The algorithm uses the conditional probability of the feature given by the class.

B.
The features can be discrete, but can also be continuous.

C.
Because we want to prevent underflow, we calculate a sum of logs of the probabilities instead of their multiplication .


D.
We prefer features with high dependency to get better prediction.

1 Answer

12 votes

Answer:

B. The features can be discrete, but can also be continuous.

Step-by-step explanation:

Each continuous attribute can be discretized and the continuous attribute value replaced with the matching discrete interval.

User Petrus Repo
by
4.1k points