source: prdatasets/biomed.m @ 155

Last change on this file since 155 was 150, checked in by bduin, 5 years ago
File size: 1.4 KB
Line 
1%BIOMED 194 objects with 5 features in 2 classes
2%
3%       X = BIOMED;
4%
5% The biomed dataset to develop screening methods to identify carriers
6% of a rare genetic disorder.  Because the disease is rare, there are
7% only a few carriers of the disease from whom data are available.
8%
9%       X = BIOMED(VAL)
10%
11% By default objects with missing values are removed. When something else
12% is desired, use one of the options in MISVAL for VAL.
13%
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.
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>
18% PRTOOLS, DATASETS, MISVAL
19
20% Copyright: R.P.W. Duin
21
22function a = biomed(val)
23
24if nargin < 1, val = 'remove'; end
25
26a = pr_loadmatfile;
27if 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  opt.dsetname = 'Biomedical Data';
35  a = pr_download('http://prtools.tudelft.nl/prdatasets/biomed.dat',[],opt);
36end
37a = misval(a,val);
38
39return
Note: See TracBrowser for help on using the repository browser.