[R] naiveBayes other than e1071

From: Saeed Abu Nimeh <sabunime_at_gmail.com>
Date: Mon, 04 Jun 2007 13:45:03 -0500

Hi List,
Is there a naiveBayes interface other than the one in e1071 package. For some reason on certain datasets all predicted values are NaN, but it predicts well on others.
Thanks,
Saeed

---
model <- naiveBayes(x.train, y.train, laplace = 3)
pred <- predict(model,x.test,type="raw")

______________________________________________
R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 04 Jun 2007 - 18:52:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Jun 2007 - 20:33:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.