Changeset 94 for prdatasets/arrhythmia.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/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);
Note: See TracChangeset
for help on using the changeset viewer.