Search code examples
machine-learningclassificationnaivebayes

Naive bayes classifier with binary data


I am familiar with the understanding of naive bayes classifier with continuous and categorical input with the class variable being binary. But how will it work for binary data input?

 Example: (0,0,-), (1,1,+)

where the signs are the class variables.


Solution

  • Binary data is essentially the same as categorical data, isn't it?

    It has categories 0 and 1.