File Exchange

image thumbnail

Multi Class SVM

version 1.2 (9.71 KB) by

Multi class SVM developed by using binary svm classification

60 Downloads

Updated

View License

It classify multi Class Instance SVM Click on demo to view code proof ..
this also accept all option as varargin no need about worry
It is work perfect I Classify using following referece
Multiclass SVM
Multiclass SVM aims to assign labels to instances by using support vector machines, where the labels are drawn from a finite set of several elements.
The dominant approach for doing so is to reduce the single multiclass problem into multiple binary classification problems.[17] Common methods for such reduction include:[17][18]

Building binary classifiers which distinguish (i) between one of the labels and the rest (one-versus-all) or (ii) between every pair of classes (one-versus-one). Classification of new instances for the one-versus-all case is done by a winner-takes-all strategy, in which the classifier with the highest output function assigns the class (it is important that the output functions be calibrated to produce comparable scores). For the one-versus-one approach, classification is done by a max-wins voting strategy, in which every classifier assigns the instance to one of the two classes, then the vote for the assigned class is increased by one vote, and finally the class with the most votes determines the instance classification.

URL;https://en.wikipedia.org/wiki/Support_vector_machine

Comments and Ratings (3)

Try to run the example in svm.m but
[Undefined function or variable 'msvmtrain'.]
Is it need the new version matlab?

@Jbhop
you need matlab 2014a

Jbhop

Jbhop (view profile)

I try to run Demo.m but
Error in svm.svmclassify (line 344)
non SupportVectors field in svmStruct

Updates

1.2

name changed

1.1

code updated to class type
simple to call

MATLAB Release
MATLAB 8.3 (R2014a)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

msvm/

msvm/html/