Changeset 94 for prdatasets/breast.m
- Timestamp:
- 09/14/14 21:19:24 (10 years ago)
- Location:
- prdatasets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets
- Property svn:ignore
-
old new 2 2 *.mat 3 3 *.data 4 *.asv
-
- Property svn:ignore
-
prdatasets/breast.m
r81 r94 1 1 %BREAST 699 objects with 9 features in 2 classes 2 2 % 3 % X = BREAST ;3 % X = BREAST 4 4 % 5 5 % Breast cancer Wisconsin dataset obtained from the University of Wisconsin … … 10 10 % programming", SIAM News, Volume 23, Number 5, September 1990, pp 1 & 18. 11 11 % 12 % X = BREAST(VAL) ;12 % X = BREAST(VAL) 13 13 % 14 % Per default the missing values are replaced by -1. When you want to 15 % do something else, use one of the options in missingvalues.m. 14 % By default objects with missing values are removed. When something else 15 % is desired, use one of the options in MISVAL. 16 % 17 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> 18 % PRTOOLS, DATASETS, MISVAL 19 20 % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org 21 16 22 function x = breast(val) 17 23 18 24 prdatasets(mfilename,1,'http://prtools.org/prdatasets/breastorg.dat'); 19 25 if nargin<1 20 val = -1;26 val = 'remove'; 21 27 end 22 28 … … 36 42 x = setfeatlab(x,fl); 37 43 x = setname(x,'Breast Wisconsin'); 38 [x,msg] = prmissingvalues(x,val);44 [x,msg] = misval(x,val); 39 45 user.desc = [user.desc msg]; 40 46 x = setuser(x,user);
Note: See TracChangeset
for help on using the changeset viewer.