Support Vector Machine Classifier

7 ビュー (過去 30 日間)
Akshaya
Akshaya 2012 年 3 月 15 日
How to write matlab codes for support vector machine classifier using 5 discrete values? what does that sample and training represent in the syntax?

採用された回答

Walter Roberson
Walter Roberson 2012 年 3 月 15 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by