Changeset 94 for prdatasets/arrhythmia.m


Ignore:
Timestamp:
09/14/14 21:19:24 (10 years ago)
Author:
bduin
Message:
 
Location:
prdatasets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • prdatasets

    • Property svn:ignore
      •  

        old new  
        22*.mat
        33*.data
         4*.asv
  • prdatasets/arrhythmia.m

    r81 r94  
    1 %ARRHYTHMIA 420 objects with 278 features in 12 classes
     1%ARRHYTHMIA 420 objects with 279 features in 12 classes
    22%
    33%        X = ARRHYTHMIA(CLASS,VAL)
     
    1010%       X = ARRHYTHMIA(VAL);
    1111%
    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
    1422function x = arrhythmia(val);
    1523
     
    4654x = setfeatlab(x,fl);
    4755x = 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);
    5059user.desc = [user.desc msg];
    5160x = setuser(x,user);
Note: See TracChangeset for help on using the changeset viewer.