Hey! How do I get the confusion matrix after performing 10-fold cross validation from SVM in R?
When I try to print it, I get the confusion matrix without cross validation. I need to compute PPV. Should I report PPV without CV and total accuracy with CV? I am confused. > svmtrain <- svm(xtrain,ytrain,kernel="sigmoid",cross=10) > pred <- predict(svmtrain, xtrain) > table(pred, ytrain) Pam -- View this message in context: http://www.nabble.com/Confusion-matrix-from-cross-validation-in-R%3A-tp25883309p25883309.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.