Changeset 94


Ignore:
Timestamp:
09/14/14 21:19:24 (10 years ago)
Author:
bduin
Message:
 
Location:
prdatasets
Files:
6 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);
  • prdatasets/biomed.m

    r81 r94  
    77% only a few carriers of the disease from whom data are available.
    88%
    9 %       X = BIOMED(VAL);
     9%       X = BIOMED(VAL)
    1010%
    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.
    1513%
    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
    1820
    1921function x = biomed(val)
     
    3335x = setfeatlab(x,fl);
    3436x = setname(x,'Biomed');
    35 [x,msg] = prmissingvalues(x,val);
     37[x,msg] = misval(x,val);
    3638user.desc = [user.desc msg];
    3739x = setuser(x,user);
  • prdatasets/breast.m

    r81 r94  
    11%BREAST 699 objects with 9 features in 2 classes
    22%
    3 %       X = BREAST;
     3%       X = BREAST
    44%
    55% Breast cancer Wisconsin dataset obtained from the University of Wisconsin
     
    1010% programming", SIAM News, Volume 23, Number 5, September 1990, pp 1 & 18.
    1111%
    12 %       X = BREAST(VAL);
     12%       X = BREAST(VAL)
    1313%
    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
    1622function x = breast(val)
    1723
    1824prdatasets(mfilename,1,'http://prtools.org/prdatasets/breastorg.dat');
    1925if nargin<1
    20         val = -1;
     26        val = 'remove';
    2127end
    2228
     
    3642x = setfeatlab(x,fl);
    3743x = setname(x,'Breast Wisconsin');
    38 [x,msg] = prmissingvalues(x,val);
     44[x,msg] = misval(x,val);
    3945user.desc = [user.desc msg];
    4046x = setuser(x,user);
  • prdatasets/heart.m

    r81 r94  
    11%HEART 303 objects with 13 features in 2 classes
    22%
    3 %       X = HEART;
     3%       X = HEART
    44%
    55% Heart-Cleveland dataset from the Hungarian Institute of Cardiology.
    66% Budapest: Andras Janosi, M.D.
    77%
    8 %       X = HEART(VAL);
     8%       X = HEART(VAL)
    99%
    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
    1218function x = heart(val)
    1319
     
    3137x = setname(x,'Heart Cleveland');
    3238x = setfeatdom(x,fd);
    33 [x,msg] = prmissingvalues(x,val);
     39[x,msg] = misval(x,val);
    3440user.desc = [user.desc msg];
    3541x = setuser(x,user);
  • prdatasets/hepatitis.m

    r81 r94  
    66% die.
    77%
    8 %             X = HEPATITIS(VAL);
     8%             X = HEPATITIS(VAL)
    99%
    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
    1318function x = hepatitis(val);
    1419
    1520prdatasets(mfilename,1,'http://prtools.org/prdatasets/hepatitis.dat');
    1621if nargin<1
    17         val = 'mean';
     22        val = 'remove';
    1823end
    1924
     
    3035x = setfeatlab(x,fl);
    3136x = setname(x,'Hepatitis');
    32 [x,msg] = prmissingvalues(x,val);
     37[x,msg] = misval(x,val);
    3338user.desc = [user.desc msg];
    3439x = setuser(x,user);
Note: See TracChangeset for help on using the changeset viewer.