6

I have been looking for a multinomial naive Bayes classifier on CRAN, and so far all I can come up with is the binomial implementation in package e1071. Does anyone know of a package that has a multinomial Bayes classifier?

smci
  • 32,567
  • 20
  • 113
  • 146
Timothy P. Jurka
  • 918
  • 1
  • 11
  • 21

1 Answers1

2

bnlearn not doing it for you? http://www.bnlearn.com/

Is on CRAN, and claims to implement "naive Bayes" network classifiers and "Discrete (multinomial) data sets are supported".

Spacedman
  • 92,590
  • 12
  • 140
  • 224
  • Thanks for this suggestion. I'll test it out and see if it works for multinomial data. Unfortunately `bnlearn` doesn't support compressed sparse matrices as input, but I can deal with that. – Timothy P. Jurka Jan 15 '12 at 23:30
  • 3
    When I look at the bnlearn docs, I do not see an option to use a multinomial likelihood estimate for features. It says the features are assumed to be Gaussian distributed. Am I reading something wrong here? – gabe May 21 '14 at 19:59