source: prdatasets/biomed.m @ 118

Last change on this file since 118 was 94, checked in by bduin, 10 years ago
File size: 1.3 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%
[94]9%       X = BIOMED(VAL)
[80]10%
[94]11% By default objects with missing values are removed. When something else
12% is desired, use one of the options in MISVAL.
[80]13%
[94]14% This is the ''biomed' dataset of the <a href="http://lib.stat.cmu.edu/datasets/">StatLib Datasets Archive</a>.
15%
16% SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
17% PRTOOLS, DATASETS, MISVAL
[80]18
[94]19% Copyright: R.P.W. Duin, r.p.w.duin@prtools.org
20
[80]21function x = biomed(val)
22
23prdatasets(mfilename,1,'http://prtools.org/prdatasets/biomed.dat');
24if nargin<1
25        val = 'remove';
26end
27
28user.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. ';
29user.link = 'http://lib.stat.cmu.edu/datasets/';
30cl = {'carrier' 'normal'};
31fl = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'};
32
33a = load('biomed.dat');
[81]34x = pr_dataset(a(:,[3 5 6 7 8]),cl(a(:,end)));
[80]35x = setfeatlab(x,fl);
36x = setname(x,'Biomed');
[94]37[x,msg] = misval(x,val);
[80]38user.desc = [user.desc msg];
39x = setuser(x,user);
40
41return
Note: See TracBrowser for help on using the repository browser.