%BIOMED 194 objects with 5 features in 2 classes
%
% X = BIOMED;
%
% The biomed dataset to develop screening methods to identify carriers
% of a rare genetic disorder. Because the disease is rare, there are
% only a few carriers of the disease from whom data are available.
%
% X = BIOMED(VAL)
%
% By default objects with missing values are removed. When something else
% is desired, use one of the options in MISVAL for VAL.
%
% This is the ''biomed' dataset of the StatLib Datasets Archive.
% Just the original features 3, 5, 6, 7 and 8 are used.
%
% SEE ALSO PRTools Guide, UCI Website
% PRTOOLS, DATASETS, MISVAL
% Copyright: R.P.W. Duin, r.p.w.duin@37steps.com
function x = biomed(val)
if nargin < 1, val = 'remove'; end
a = pr_getdata('http://37steps.com/data/prdatasets/biomed.dat',1);
user.desc = 'The purpose of the analysis is to develop a screening procedure to detect carriers and to describe its effectiveness. ';
user.link = 'http://lib.stat.cmu.edu/datasets/';
cl = {'carrier' 'normal'};
fl = {'age' 'measurement 1' 'measurement 2' 'measurement 3' 'measurement 4'};
x = pr_dataset(a(:,[3 5 6 7 8]),cl(a(:,end)));
x = setfeatlab(x,fl);
x = setname(x,'Biomed');
x = setuser(x,user);
x = misval(x,val);
return