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
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
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
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
4 matches
Mail list logo