当我从列车数据(图像的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,....
我该怎么做才能解决错误?请告诉我