Hello,

Is there an option of cross validation for CHAID decision tree? An example of 
CHAID is below:
library("CHAID") 
example("chaid", package = "CHAID")

How can I use a 10 fold cross-validation for CHAID?
I've read that caret package is to cross-validate on many times of models, but 
model CHAID is not in caret's built-in library.

library(caret) 
model <- train(vote3 ~., data = USvoteS, method='CHAID', 
tuneLength=10,trControl=trainControl(method='cv', number=10, classProbs=TRUE, 
summaryFunction=twoClassSummary))

Thanks,
Rodica

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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