Username Remember Me?
Password   forgot password?
   
   
Error in Version 4.1.4 28-Apr-2009_17:42
Posted: 06 June 2009 06:03 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  12
Joined  2009-05-06

Hi,
I tried this simple example using the toolbox that I downloaded today:

>> X=rand(5000,500); Labels round((3*rand(5000,1))+1); % Generate random examples
>> Xtest=rand(1,500); Ltest round((3*rand(1,1))+1); % Generate random test example
>> A=dataset(X,Labels);
>> 
Atest dataset(Xtest,Ltest);

>> 
knnc(A,1); % Train a 1-NN classifier
>> labeld(Atest,C)

??? 
Error using ==> map.map
Too many input arguments
.

Error in ==> C:\Archivos de programa\MATLAB\R2008a\toolbox\prtools\@mapping\mtimes.p>mtimes at 17

It happens when I try this too:

>> A*C
Too many input arguments
.

Error in ==> C:\Archivos de programa\MATLAB\R2008a\toolbox\prtools\@mapping\mtimes.p>mtimes at 17

That did not use to happen on previous versions.

Thanks for your comments!

Luis Felipe

[ Edited: 06 June 2009 06:39 PM by Luis Felipe]
Profile
 
 
Posted: 06 June 2009 09:11 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  12
Joined  2009-05-06

I’d think that it is related to the thread posted by “theiman”, titled “map.map problem”.

Luis Felipe

Profile
 
 
Posted: 08 June 2009 09:28 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  12
Joined  2009-05-06

I’ve found the problem. There is some conflict with the spider package for machine learning. When I removed the spider package, the error dissappeared.

Luis Felipe

Profile
 
 
Posted: 09 June 2009 08:20 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  236
Joined  2008-04-26

Thanks Luis Felipe,

that’s very useful to know!

Pavel

Profile