From: zeliha on 29 Apr 2010 03:54 where can i download svmlearn and svmclassify dll. "Tal Jarad" <taljar(a)canada.com> wrote in message <h7h92b$i7t$1(a)fred.mathworks.com>... > Hi there, > I am using svmlearn and svmclassify to train and classify data. I built the code below but I am getting an error message: > ================================= > ??? Error using ==> svmclassify > Too many input arguments. > > Error in ==> Ex2aCodev2 at 7 > class=svmclassify(svmStruct,mydata(test,:),'showplot',true); > ======================================= > I have the following code: > load data.mat; > mydata=[data(:,1),data(:,2)]; > groups=ismember(data(:,3),-1); > [train,test] = crossvalind('holdOut',groups); > cp=classperf(groups); > svmStruct = svmtrain(mydata(train,:),groups(train),'Kernel_Function', 'linear' ,'showplot',true); > classes = svmclassify(svmStruct, mydata(test,:), 'showplot', true); <--- Error here > classperf(cp,classes,test); > cp.CorrectRate > > data.mat is 677x3 double; where columns 1 and 2 are data; column 3 is label. > Can any help, please? > Thanks in advance. > Tal
From: Steven Lord on 29 Apr 2010 11:25 "zeliha " <cetinz4(a)yahoo.com> wrote in message news:hrbdus$7h5$1(a)fred.mathworks.com... > > where can i download svmlearn and svmclassify dll. My guess is that the original poster meant SVMTRAIN and SVMCLASSIFY, not svmlearn and svmclassify. If that's the case, those functions are part of Bioinformatics Toolbox; if you have a license for that product, you can download it from the "Download Product Updates and Trials" link on the support section of the website, http://www.mathworks.com/support. *snip* -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Matlab Mex Compiler and Csdp.Exe Error Next: Plot with events |