[R] Train error:: subscript out of bonds
Neeti
nikkihathi at gmail.com
Wed Jan 26 11:45:11 CET 2011
What I have understood in CARET train() method is that train() itself does
the model selection and tune the parameter. (please correct me if I am
wrong). That was my first motivation to select this package and method for
fitting the model. And use the parameter to e1071 svm() method and compare
the result.
fit1<-train(train1,as.factor(trainset[,ncol(trainset)]),"svmpoly",trControl
= trainControl((method = "cv"),10,verboseIter = F),tuneLength=3)
--
View this message in context: http://r.789695.n4.nabble.com/Train-error-subscript-out-of-bonds-tp3234510p3237800.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list