필터 지우기
필터 지우기

Support Vector Machine could not fix this problem

조회 수: 1 (최근 30일)
S1 Ekstensi ILKOM
S1 Ekstensi ILKOM 2014년 1월 10일
편집: Walter Roberson 2014년 1월 11일
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???

답변 (1개)

Shashank Prasanna
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:

카테고리

Help CenterFile 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!

Translated by