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