Changeset 137 for prdatasets/biomed.m
- Timestamp:
- 12/18/19 15:46:35 (5 years ago)
- Location:
- prdatasets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets
- Property svn:ignore
-
old new 3 3 *.data 4 4 *.asv 5 data
-
- Property svn:ignore
-
prdatasets/biomed.m
r132 r137 15 15 % Just the original features 3, 5, 6, 7 and 8 are used. 16 16 % 17 % SEE ALSO <a href="http:// prtools.tudelft.nl/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>17 % SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a> 18 18 % PRTOOLS, DATASETS, MISVAL 19 19 20 % Copyright: R.P.W. Duin 20 % Copyright: R.P.W. Duin, r.p.w.duin@37steps.com 21 21 22 function x= biomed(val)22 function a = biomed(val) 23 23 24 24 if nargin < 1, val = 'remove'; end 25 a = pr_getdata('http://prtools.tudelft.nl/prdatasets/biomed.dat',1);26 25 27 user.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. '; 28 user.link = 'http://lib.stat.cmu.edu/datasets/'; 29 cl = {'carrier' 'normal'}; 30 fl = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'}; 31 32 x = pr_dataset(a(:,[3 5 6 7 8]),cl(a(:,end))); 33 x = setfeatlab(x,fl); 34 x = setname(x,'Biomed'); 35 x = setuser(x,user); 36 x = misval(x,val); 26 a = pr_loadmatfile; 27 if isempty(a) 28 opt.labfeat = 9; 29 opt.feats = [3,5,6,7,8]; 30 opt.featnames = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'}; 31 opt.classnames = {'carrier' 'normal'}; 32 opt.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. '; 33 opt.link = 'http://lib.stat.cmu.edu/datasets/'; 34 a = pr_download('http://prtools.tudelft.nl/prdatasets/biomed.dat',[],opt); 35 end 36 a = misval(a,val); 37 37 38 38 return
Note: See TracChangeset
for help on using the changeset viewer.