search for: pred_true1

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

2010 Nov 23
5
cross validation using e1071:SVM
...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 data and reference factors must have the same number of levels My data: total number=260 Class = 6 ##################################### Sorry if I missed some previous discussion about this problem. It would be n...