source: prdatasets/biomed.m @ 88

Last change on this file since 88 was 81, checked in by bduin, 11 years ago
File size: 1.2 KB
RevLine 
[80]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% Per default the entries with missing values are removed. When you want
12% to do something else, use one of the options in missingvalues.m.
13% This is the ''biomed' dataset of the StatLib Datasets Archive, see
14% http://lib.stat.cmu.edu/datasets/
15%
16% SEE ALSO
17% DATASETS, MISSINGVALUES
18
19function x = biomed(val)
20
21prdatasets(mfilename,1,'http://prtools.org/prdatasets/biomed.dat');
22if nargin<1
23        val = 'remove';
24end
25
26user.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. ';
27user.link = 'http://lib.stat.cmu.edu/datasets/';
28cl = {'carrier' 'normal'};
29fl = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'};
30
31a = load('biomed.dat');
[81]32x = pr_dataset(a(:,[3 5 6 7 8]),cl(a(:,end)));
[80]33x = setfeatlab(x,fl);
34x = setname(x,'Biomed');
35[x,msg] = prmissingvalues(x,val);
36user.desc = [user.desc msg];
37x = setuser(x,user);
38
39return
Note: See TracBrowser for help on using the repository browser.