Re: [R] NAIVE BAYES with 10-fold cross validation

2007-10-31 Thread Kuhn, Max
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 de

Re: [R] NAIVE BAYES with 10-fold cross validation

2007-10-31 Thread Julia Kröpfl
richt > Datum: Tue, 30 Oct 2007 17:03:49 -0400 > Von: "Kuhn, Max" <[EMAIL PROTECTED]> > An: "Julia Kröpfl" <[EMAIL PROTECTED]>, r-help@r-project.org > Betreff: RE: [R] NAIVE BAYES with 10-fold cross validation > > am trying to implement the code of

Re: [R] NAIVE BAYES with 10-fold cross validation

2007-10-30 Thread Kuhn, Max
Accuracy was used to select the optimal model Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Julia Kröpfl" Sent: Tuesday, October 30, 2007 4:46 PM To: r-help@r-project.org Subject: [R] NAIVE BAYES with 10-fold cross validation

[R] NAIVE BAYES with 10-fold cross validation

2007-10-30 Thread Julia Kröpfl
hi there!! i am trying to implement the code of the e1071 package for naive bayes, but it doens't really work, any ideas?? i am very glad about any help!! i need a naive bayes with 10-fold cross validation: code: library(e1071) model <- naiveBayes(code ~ ., mydata) tune.control <- tune.control