Username Remember Me?
Password   forgot password?
   
   
Can’t change the cross-validation strategy in sdcrossval
Posted: 08 March 2010 05:05 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  20
Joined  2010-02-18

Hi,

In PRSD Studio 2.0.5, I get the following error when I tried the example in the documentation about the different cross-validation strategies:

>> load fruitpdsdgauss*sddecide[r2,e2]=sdcrossval(pd,a,'folds',2,'method','random');
??? 
Undefined function or method 'getstate' for input arguments of type 'sdppl'.

Error in ==> C:\Program Files\MATLAB\R2009b\toolbox\prsd_toolbox\private\sde_randomization.p>sde_randomization at 19


Error in 
==> C:\Program Files\MATLAB\R2009b\toolbox\prsd_toolbox\sdcrossval.p>sdcrossval at 120

Thank you for your help.

Mathieu

[ Edited: 08 March 2010 05:18 PM by Mathieu]
Profile
 
 
Posted: 08 March 2010 08:59 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  236
Joined  2008-04-26

Hi Mathieu,

yes, this is a bug. In 2.0.5 only the rotation cross-validation scheme was supported. The randomization and leave-one-out code was not ported from 1.3 release.

Please upgrade to the latest PRSD Studio release (2.0.9). All cross-validation types are now supported. There is also an updated chapter in the documentation providing examples on cross-validation: http://perclass.com/doc/guide/evaluation.html

Pavel

Profile
 
 
Posted: 08 March 2010 09:26 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  20
Joined  2010-02-18

Thank you Pavel, I will install the upgrade.

Profile