source: prdatasets/cmc.m @ 144

Last change on this file since 144 was 142, checked in by bduin, 5 years ago

Updated collection of datasets

File size: 1.0 KB
RevLine 
[142]1%CMC Contraceptive Method Choice
2%PRTools dataset import from UCI, 690 objects, 15 mixed features, 2 classes
3%
4%  A = CMC
5%
6%DESCRIPTION
7%This command downloads one of the UCI data sets, converts it into PRTools
8%format and stores it locally for future use. Consult the <a href="http://archive.ics.uci.edu/ml/datasets/Contraceptive+Method+Choice">related website</a>
9%for further information. Please make the appropriate references in
10%publications that make use of this dataset.
11%
12%This dataset contains one categorical features with 4 categories.
13%It may be converted to 4 new real features by CAT2REAL.
14%
15%SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
16%PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL
17
18% Copyright: R.P.W. Duin, r.p.w.duin@37steps.com
19
20function a = cmc
21
22a = pr_download_uci('Contraceptive+Method+Choice','cmc.data');
23a = setfeatdom(a,{char({'1','2','3','4'})},7);
24a = setname(a,'Contraceptive Method Choice');
25
26
Note: See TracBrowser for help on using the repository browser.