457,043 views
30 votes
30 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.

User Zahra Bayat
by
3.0k points

1 Answer

19 votes
19 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 Tom Greene
by
3.1k points