search for: cvsegment

Displaying 1 result from an estimated 1 matches for "cvsegment".

Did you mean: cvsegments
2010 Nov 23
5
cross validation using e1071:SVM
Hi everyone I am trying to do cross validation (10 fold CV) by using e1071:svm method. I know that there is an option (?cross?) for cross validation but still I wanted to make a function to Generate cross-validation indices using pls: cvsegments method. ##################################################################### Code (at the end) Is working fine but sometime caret:confusionMatrix gives following error: stat_result<- confusionMatrix(pred_true1,species_test) Error in confusionMatrix.default(pred_true1, species_test) : The...