[R] NAIVE BAYES with 10-fold cross validation
Kuhn, Max
Max.Kuhn at pfizer.com
Wed Oct 31 14:16:52 CET 2007
Julia,
> i checked the caret package out and the tuning works. but i
> can't find a way to make a contingency table in order to
> see the classification result.
You should read the vignettes for the package at:
http://cran.r-project.org/src/contrib/Descriptions/caret.html
these have the details for caret. There are many other methods. Typing
help.search("confusion")
yields four different implementations on my system.
Looking at your email, you need to read something about basic predict methods. Please read ?predict.NaiveBayes
Max
More information about the R-help
mailing list