From: zeliha on
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

"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