使用segminopt时出错> segminoptmpl在最大迭代次数内未实现收敛

时间:2018-03-14 17:08:13

标签: matlab svm

当我从列车数据(图像的13393)和测试数据(图像的5740)中提取特征时,我使用SVM分类器时遇到问题我使用这些代码:

model_svm = svmtrain(Feature_Train,trainingLabels,'ShowPlot',true);
predictedLabels = svmclassify(model_svm, Feature_Test,'showplot',true);

其中Feature_Train是13393x4096的矩阵,Feature_Test是5740x4096的矩阵但是此错误显示:

Error using segminopt>segminoptmpl (line 198)
No convergence achieved within maximum number of iterations 
Error in segminopt (line 81)
[alphas offset] = segminoptImpl(data, targetLabels,....
Error in svmtrain (line 503)
[alpha bias] = segminopt(training, groupIndex,....

我该怎么做才能解决错误?请告诉我

0 个答案:

没有答案