Support Vector Machine Classifier

7 vues (au cours des 30 derniers jours)
Akshaya
Akshaya le 15 Mar 2012
How to write matlab codes for support vector machine classifier using 5 discrete values? what does that sample and training represent in the syntax?

Réponse acceptée

Walter Roberson
Walter Roberson le 15 Mar 2012
Each "point" is a vector of values. Are you saying that each element of those vectors is derived from 1 of 5 states? e.g.,
[A A C C B; %point 1
A C E E B; %point 2
D A B A C] %point 3
And your goal is to classify these points into precisely two classes total?
If that is the case, then just go ahead and feed your data in to svm, splitting your overall data between training and test however is appropriate (e.g., sometimes half and half are used.)
If, however, you mean something quite different, that you have data points that you want to classify in to 5 different states, then svm is not appropriate for that. svm is a binary classifier. Some people have worked on extending svm to more classes, but the results are pretty time-consuming. If I recall, I did find one paper with an approach whose big-O had a logN in one place where the others had N, but I seem to recall that needed a lot of memory.

Plus de réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by