Changeset 94 for prdatasets/hepatitis.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/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.