Changeset 123 for prdatasets/biomed.m
- Timestamp:
- 03/05/18 00:14:20 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets/biomed.m
r94 r123 10 10 % 11 11 % By default objects with missing values are removed. When something else 12 % is desired, use one of the options in MISVAL .12 % is desired, use one of the options in MISVAL for VAL. 13 13 % 14 14 % This is the ''biomed' dataset of the <a href="http://lib.stat.cmu.edu/datasets/">StatLib Datasets Archive</a>. 15 % Just the original features 3, 5, 6, 7 and 8 are used. 15 16 % 16 17 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> … … 21 22 function x = biomed(val) 22 23 23 prdatasets(mfilename,1,'http://prtools.org/prdatasets/biomed.dat'); 24 if nargin<1 25 val = 'remove'; 26 end 24 if nargin < 1, val = 'remove'; end 25 a = pr_getdata('http://37steps.com/data/prdatasets/biomed.dat',1); 27 26 28 27 user.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. '; … … 31 30 fl = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'}; 32 31 33 a = load('biomed.dat');34 32 x = pr_dataset(a(:,[3 5 6 7 8]),cl(a(:,end))); 35 33 x = setfeatlab(x,fl); 36 34 x = setname(x,'Biomed'); 37 [x,msg] = misval(x,val);38 user.desc = [user.desc msg];39 35 x = setuser(x,user); 36 x = misval(x,val); 40 37 41 38 return
Note: See TracChangeset
for help on using the changeset viewer.