Support Vector Machine could not fix this problem
1 回表示 (過去 30 日間)
古いコメントを表示
i try to using SVM to solve iris classication problem found in matlab dataset, here is what i type:
load irisdataset;
virginincaGroups = ismember(species, 'virginica');
svmStruct = svmtrain(irisInputs, virginicaGroups, 'Kernel_Function', 'rbf', 'boxconstraint', Inf, 'showplot', true)
and the result was
unable to solve this problem due to max iteration
so what is going on???
0 件のコメント
回答 (1 件)
Shashank Prasanna
2014 年 1 月 10 日
The iris dataset is 3 classes. The SVMTRAIN function in the Statistics Toolbox can only solve binary classification problems. However, you are free to change the max iteration using the 'options' input. Take a look at the documentation of svmtrain:
Alternatively, I encourage you to explore other machine learning algorithms that can solve a multi-class classification problem. The following link demonstrates 4 different classifiers:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!