source: prdatasets/credit.m @ 149

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

Updated collection of datasets

File size: 1.1 KB
Line 
1%CREDIT Credit card approval data
2%PRTools dataset import from UCI, 690 objects, 15 mixed features, 2 classes
3%
4%  A = CREDIT
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/Credit+Approval">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 a number of categorical features with N > 2
13%categories. They may be converted to N new real features by CAT2REAL.
14%
15%There are missing values, coded by NaNs. They may be handled by MISVAL.
16%
17%SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
18%PRTOOLS, DATASETS, SETFEATDOM, MISVAL, CAT2REAL
19
20% Copyright: R.P.W. Duin, r.p.w.duin@37steps.com
21
22function a = credit
23
24form = '%s%n%n%s%s%s%s%n%s%s%n%s%s%n%n%s';
25form = 'cnnccccnccnccnnc';
26a = pr_download_uci('Credit+Approval','crx.data',form);
27a = setname(a,'Credit Approval Dataset');
Note: See TracBrowser for help on using the repository browser.