Filter löschen
Filter löschen

Support Vector Machine could not fix this problem

1 Ansicht (letzte 30 Tage)
S1 Ekstensi ILKOM
S1 Ekstensi ILKOM am 10 Jan. 2014
Bearbeitet: Walter Roberson am 11 Jan. 2014
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???

Antworten (1)

Shashank Prasanna
Shashank Prasanna am 10 Jan. 2014
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:

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by