source: prdatasets/australian_sl.m

Last change on this file was 150, checked in by bduin, 5 years ago
File size: 1.5 KB
Line 
1%AUSTRALIAN_SL Statlog (Australian Credit Approval) Data Set
2%PRTools dataset import from UCI, 690 objects, 14 features, 2 classes
3%
4%  A = AUSTRALIAN_SL
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/Statlog+(Australian+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%SEE ALSO <a href="http://prtools.tudelft.nl/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
19
20function a = australian_sl
21
22a = pr_download_uci('Statlog+(Australian+Credit+Approval)','australian.dat',[],[],[],[],[],' ');
23a(:,[1 8 9 11]) = a(:,[1 8 9 11]) + 1;
24domains = {char('a','b'), ...
25           char('p','g','gg'), ...
26           char('ff','d','i','k','j','aa','m','c','w','e','q','r','cc','x'), ....
27           char('ff','dd','j','bb','v','n','o','h','z'), ...
28           char('f','t'), ...
29           char('f','t'), ...
30           char('f','t'), ...
31           char('s','g','p')};
32a = setfeatdom(a,domains,[1,4,5,6,8,9,11,12]);
33a = setname(a,'Statlog Australian Credit');
34
35
Note: See TracBrowser for help on using the repository browser.