How to make a Classification using LibSVM

1 visualizzazione (ultimi 30 giorni)
med djo
med djo il 11 Gen 2017
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??

Risposte (1)

med djo
med djo il 17 Gen 2017
This is a forum for matlab ....i'm getting no answer until now , this is weird really
  1 Commento
Gyaneshwar dubacharla
Gyaneshwar dubacharla il 28 Mag 2018
read the content in the link: https://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html

Accedi per commentare.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by