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")

______________________________________________
[email protected] 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.

Reply via email to