why my SVM don't have a support vector?

2 ビュー (過去 30 日間)
JIE
JIE 2014 年 9 月 3 日
コメント済み: Elisabetta Besana 2017 年 3 月 30 日
Hi,all. I use SVM (matlab) to classify a dataset, but I come across some problem. when the training over, we will get a structure whose name is svmStruct, and it contains several fields. However, when I get my svmStruct, I find there is no support vectors and alpha, the result is as follows:
My code for training svm is:"svmStruct = svmtrain(Asvm_r', b_r,'Kernel_Function','polynomial','Polyorder',5);"
And I have 36 samples for label 1, and 28 samples for label -1. And when I use svmclassify with that "svmstrcut", it can work, and can classify the dataset.
I wonder why there are no support vectors and alpha in the structure "svmstruct" and how can the function svmclassify work with such a "svmstruct" ?
  1 件のコメント
Elisabetta Besana
Elisabetta Besana 2017 年 3 月 30 日
I've got the same problem! Were you able to find an answer? If so can you explain it to me? Thank you so much

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Statistics 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