Effacer les filtres
Effacer les filtres

hierarchical classification with SVM

1 vue (au cours des 30 derniers jours)
berkaoui sara
berkaoui sara le 17 Déc 2014
Modifié(e) : berkaoui sara le 17 Déc 2014
hello, I am trying to deal with a problem of classification with SVM, at the beginning I managed to solve the problem at the first level, ie classify my data into 2 classes (class1 and class2). now I want to continue the classification hierarchically ie f I want to separate the second class into two classes. is there a way to do it with Matlab SVM. thank you

Réponse acceptée

Stalin Samuel
Stalin Samuel le 17 Déc 2014
yes you can.First process with primary data.then check the class.if result is class2 then go for another classification
  1 commentaire
berkaoui sara
berkaoui sara le 17 Déc 2014
Modifié(e) : berkaoui sara le 17 Déc 2014
actually, im use the folowing code to classify my data into 2 classes
model=svmtrain(lab_train,train,'-t 2 -d 2 -c 7 -g 0.5');
[labeltrain,valtrain,prectrain]= svmpredict(lab_train,train,model);
[labeltest,valtest,prectest]= svmpredict(lab_test,test,model);
and i dont know how to use the result in a way that i take only the second class and classify it aigain in to 2 classes

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by