[R] #library("CHAID") - Cross validation for chaid
rodikgeorgiana at yahoo.com
Mon Jan 5 13:11:07 CET 2015
Is there an option of cross validation for CHAID decision tree? An example of CHAID is below:
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.
model <- train(vote3 ~., data = USvoteS, method='CHAID', tuneLength=10,trControl=trainControl(method='cv', number=10, classProbs=TRUE, summaryFunction=twoClassSummary))
More information about the R-help