I need a somehow descriptive example showing how to do a 10-fold SVM classification on a two class set of data. there is just one example in the MATLAB documentation but it is not with 10-fold. Can someone help me?
I need a somehow descriptive example showing how to do a 10-fold SVM classification
Share
Here’s a complete example, using the following functions from the Bioinformatics Toolbox: SVMTRAIN, SVMCLASSIFY, CLASSPERF, CROSSVALIND.
with the output:
we obtained
99.33%accuracy with only one ‘setosa’ instance mis-classified as ‘non-setosa’UPDATE: SVM functions have moved to Statistics toolbox in R2013a