thank you for this code, it great ; but i have an error when i try to change the kernel function. The error is " Error using ==> seqminopt>seqminoptImpl at 203
No convergence achieved within maximum number of iterations.
Error in ==> seqminopt at 84
[alphas offset] = seqminoptImpl(data, targetLabels, ...
Error in ==> svmtrain at 541
[alpha bias] = seqminopt(training, groupIndex, ...
Error in ==> multisvm at 49
svmStruct = svmtrain(T,newClass,'kernel_function','linear' ); %
I am using rbf kernel function, you must change it also
Error in ==> teststa at 61
[itrfin] = multisvm( data,classa,test )"
is it GroupTrain vector must be column vector or row vector?
while i am running it for classfication in one program using 'group' as column vector giving me correct answer but for another program it is giving me answer as 1 for all.Then i was tried it for 'group' as row vector it is giving me 6 correct answers out of 10 classes.
Then what to do to get correct classification output?
28 Oct 2014
Multi Class SVM
Model and classify training/test data sets into more than 2 classes with SVM.