Re: [R] predict.naiveBayes() bug in e1071 package

2012-02-08 Thread David Meyer
Confirmed & fixed upstream. Thanks, David On 2012-02-07 18:43, Ali Tofigh wrote: Hi, I'm currently using the R package e1071 to train naive bayes classifiers and came across a bug: When the posterior probabilities of all classes are small, the result from the predict.naiveBayes function become

Re: [R] predict.naiveBayes() bug in e1071 package

2012-02-07 Thread David Winsemius
On Feb 7, 2012, at 12:43 PM, Ali Tofigh wrote: Hi, I'm currently using the R package e1071 to train naive bayes classifiers and came across a bug: When the posterior probabilities of all classes are small, the result from the predict.naiveBayes function become NaNs. This should be sent to th

[R] predict.naiveBayes() bug in e1071 package

2012-02-07 Thread Ali Tofigh
Hi, I'm currently using the R package e1071 to train naive bayes classifiers and came across a bug: When the posterior probabilities of all classes are small, the result from the predict.naiveBayes function become NaNs. This is an issue with the treatment of the log-transformed probabilities insid