フィルターのクリア

How to use libsvm for multi-class classification

2 ビュー (過去 30 日間)
B mohan
B mohan 2012 年 5 月 19 日
コメント済み: med djo 2017 年 1 月 11 日
I am doing project on face recognition using SVM with MATLAB tool. I want to know how to use libsvm for multiclass classification. Please anyone help me out . How it is classified on images by multi-class classification.
  1 件のコメント
med djo
med djo 2017 年 1 月 11 日
Hello Sir, Assuming that you have three different classes (1,2,3). The first class contains two samples, the second contain one, the third contain one. From each class, you will extract two values (Average and median) of the color (for example). It will give you that: classe 1: (15, 20) classe 1: (16, 21) classe 2: ( 18, 22) classe 3: (22, 24) . On matlab, we make a matrix (Matrix for learning), which contains two columns, four lines and which contain (15, 20; 16, 21;18, 22; 22, 24). And we made a matrix composed of a single column (label matrix), this matrix (1, 1, 2, 3). We execute learning SVM with SVMtrain from libSVM. The parameters I have given you as an example correspond to the RBF kernel. The gamma value, c (varies between 10 and 100,000). Please, can you help me to execute this scenario in Matlab using LibSVM?? Thanks

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 5 月 19 日
Summary: doing that is not a good idea in practice.

カテゴリ

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