Rank: 447 based on 218 downloads (last 30 days) and 1 file submitted
photo

Cody

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Cody
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Dec 2012 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody svm, multiclass svm, support vector machin..., multiclass 218 26
  • 3.72727
3.7 | 12 ratings
Comments and Ratings by Cody View all
Updated File Comments Rating
11 Feb 2013 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody

If you are getting all 1s, you should try using different options for the svmtrain function. for example:
options = statset('MaxIter',2000000);
models(k) = svmtrain(X_Train,G1vAll,'options',options,...
'kernel_function','rbf','rbf_sigma',16);

23 Jan 2013 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody

Ok, you are not using the function correctly.

load your .mat file, then pass your new variables as parameters to the function.

21 Jan 2013 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody

It sounds like you need to learn how to load .mat files. Simply type 'load xxx.mat' where xxx is the file name. You would then need to sample your data into training, test, and label sets for use with this function.

Can you show the code you are using?

08 Dec 2012 Multi Class Support Vector Machine This function removes out the limitation of MATLAB SVM function of two class and uses more classes. Author: Anand Mishra

Please see my revision of this code here:
http://www.mathworks.com/matlabcentral/fileexchange/39352

07 Dec 2012 Multi Class Support Vector Machine This function removes out the limitation of MATLAB SVM function of two class and uses more classes. Author: Anand Mishra

Hello, thanks for your contribution. It helped me out, but it was confusing and I have re-written and uploaded a clearer function that does the same thing. It is only about 15 lines of code. I'll provide a link when it is approved.

Comments and Ratings on Cody's Files View all
Updated File Comment by Comments Rating
07 Aug 2014 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody Hashmi, Abdullah Masroor

@aabiya Group train is the class of the training set.

11 Jul 2014 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody aabiya

please let me know how to calculate the group train matrix. I have calculated the train and the test set but can't understand group train variable.

27 Jun 2014 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody Amarjot

Thanks for the code!

26 Jun 2014 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody Peter

Thanks for the code. With the latest version of MATLAB (2014a) you don't need the Bioinformatics Toolbox to run the code.

29 May 2014 Multi Class SVM Model and classify training/test data sets into more than 2 classes with SVM. Author: Cody ashok

sir, i think the code will not check for the next class predicted, please check if it is 5 class

Contact us