错误使用 svmtrain (line 233)
Y must be a vector or a character array.
出错 SVMngForClass (line 38)
cg(i,j) = svmtrain(train_label, train, cmd);
出错 Untitled3 (line 26)
Y must be a vector or a character array.
出错 SVMngForClass (line 38)
cg(i,j) = svmtrain(train_label, train, cmd);
出错 Untitled3 (line 26)
[bestCVaccuracy,bestc,bestg]= SVMngForClass(double(Train_label),double(Train_features),-10,0,-10,10);
解决方法:http://blog.csdn.net/yangyangliangliang/article/details/19751369