MATLAB中SVM使用问题
load fisheririsxdata = meas(51:end,3:4);group = species(51:end);
svmStruct = svmtrain(xdata,group,'showplot',true);
species = svmclassify(svmStruct,,'showplot',true)
hold on;plot(5,2,'ro','MarkerSize',12);
hold offspecies = 'virginica' 这个是MATLAB里自带的例子,为什么我运行总出错,
错误如下: Error using svmclassify (line 59)
The first input should be a struct generated by SVMTRAIN.
求高手解答,非常感谢
你装了其它svm工具箱没,如libsvm
页:
[1]