Changeset 94
- Timestamp:
- 09/14/14 21:19:24 (10 years ago)
- Location:
- prdatasets
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets
- Property svn:ignore
-
old new 2 2 *.mat 3 3 *.data 4 *.asv
-
- Property svn:ignore
-
prdatasets/arrhythmia.m
r81 r94 1 %ARRHYTHMIA 420 objects with 27 8features in 12 classes1 %ARRHYTHMIA 420 objects with 279 features in 12 classes 2 2 % 3 3 % X = ARRHYTHMIA(CLASS,VAL) … … 10 10 % X = ARRHYTHMIA(VAL); 11 11 % 12 % Per default the entries with missing values are removed. When you want 13 % to do something else, use one of the options in missingvalues.m. 12 % By default objects with missing values are removed. When something else 13 % is desired, use one of the options in MISVAL. As some features have 14 % many missing values we recommand to remove these features using 15 % VAL = 'f-remove'. 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 14 22 function x = arrhythmia(val); 15 23 … … 46 54 x = setfeatlab(x,fl); 47 55 x = setname(x,'Arrhythmia normal'); 48 x(:,14) = []; % there are so many missing values, that I just remove this 49 [x,msg] = prmissingvalues(x,val); 56 %x(:,14) = []; % there are so many missing values, that I just remove this 57 % % don't do this, nice but confusing 58 [x,msg] = misval(x,val); 50 59 user.desc = [user.desc msg]; 51 60 x = setuser(x,user); -
prdatasets/biomed.m
r81 r94 7 7 % only a few carriers of the disease from whom data are available. 8 8 % 9 % X = BIOMED(VAL) ;9 % X = BIOMED(VAL) 10 10 % 11 % Per default the entries with missing values are removed. When you want 12 % to do something else, use one of the options in missingvalues.m. 13 % This is the ''biomed' dataset of the StatLib Datasets Archive, see 14 % http://lib.stat.cmu.edu/datasets/ 11 % By default objects with missing values are removed. When something else 12 % is desired, use one of the options in MISVAL. 15 13 % 16 % SEE ALSO 17 % DATASETS, MISSINGVALUES 14 % This is the ''biomed' dataset of the <a href="http://lib.stat.cmu.edu/datasets/">StatLib Datasets Archive</a>. 15 % 16 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> 17 % PRTOOLS, DATASETS, MISVAL 18 19 % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org 18 20 19 21 function x = biomed(val) … … 33 35 x = setfeatlab(x,fl); 34 36 x = setname(x,'Biomed'); 35 [x,msg] = prmissingvalues(x,val);37 [x,msg] = misval(x,val); 36 38 user.desc = [user.desc msg]; 37 39 x = setuser(x,user); -
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); -
prdatasets/heart.m
r81 r94 1 1 %HEART 303 objects with 13 features in 2 classes 2 2 % 3 % X = HEART ;3 % X = HEART 4 4 % 5 5 % Heart-Cleveland dataset from the Hungarian Institute of Cardiology. 6 6 % Budapest: Andras Janosi, M.D. 7 7 % 8 % X = HEART(VAL) ;8 % X = HEART(VAL) 9 9 % 10 % Per default the missing values are replaced by -1. When you want to 11 % do something else, use one of the options in missingvalues.m. 10 % By default objects with missing values are removed. When something else 11 % is desired, use one of the options in MISVAL. 12 % 13 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> 14 % PRTOOLS, DATASETS, MISVAL 15 16 % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org 17 12 18 function x = heart(val) 13 19 … … 31 37 x = setname(x,'Heart Cleveland'); 32 38 x = setfeatdom(x,fd); 33 [x,msg] = prmissingvalues(x,val);39 [x,msg] = misval(x,val); 34 40 user.desc = [user.desc msg]; 35 41 x = setuser(x,user); -
prdatasets/hepatitis.m
r81 r94 6 6 % die. 7 7 % 8 % X = HEPATITIS(VAL) ;8 % X = HEPATITIS(VAL) 9 9 % 10 % Per default the missing values are replaced by the mean value of the 11 % corresponding feature. When you want to do something else, use one of 12 % the options in missingvalues.m. 10 % By default objects with missing values are removed. When something else 11 % is desired, use one of the options in MISVAL. 12 % 13 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> 14 % PRTOOLS, DATASETS, MISVAL 15 16 % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org 17 13 18 function x = hepatitis(val); 14 19 15 20 prdatasets(mfilename,1,'http://prtools.org/prdatasets/hepatitis.dat'); 16 21 if nargin<1 17 val = ' mean';22 val = 'remove'; 18 23 end 19 24 … … 30 35 x = setfeatlab(x,fl); 31 36 x = setname(x,'Hepatitis'); 32 [x,msg] = prmissingvalues(x,val);37 [x,msg] = misval(x,val); 33 38 user.desc = [user.desc msg]; 34 39 x = setuser(x,user);
Note: See TracChangeset
for help on using the changeset viewer.