1 | %SHUTTLE_SL Statlog (Shuttle) Data Set
|
---|
2 | %PRTools dataset import from UCI, 43500+14500 objects, 9 features, 7 classes
|
---|
3 | %
|
---|
4 | % [TRAIN,TEST] = SHUTTLE_SL
|
---|
5 | % TRAIN_TEST = SHUTTLE_SL
|
---|
6 | %
|
---|
7 | %DESCRIPTION
|
---|
8 | %This command downloads one of the UCI data sets, converts it into PRTools
|
---|
9 | %format and stores it locally for future use. Consult the <a href="http://archive.ics.uci.edu/ml/datasets/Statlog+(Shuttle)">related website</a>
|
---|
10 | %for further information. Please make the appropriate references in
|
---|
11 | %publications that make use of this dataset.
|
---|
12 | %
|
---|
13 | %SEE ALSO <a href="http://prtools.tudelft.nl/prtools/">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
|
---|
14 | %PRTOOLS, DATASETS
|
---|
15 |
|
---|
16 | % Copyright: R.P.W. Duin
|
---|
17 |
|
---|
18 | function [a,b] = shuttle_sl
|
---|
19 |
|
---|
20 | url1 = 'http://prtools.tudelft.nl/prdatasets/shuttle.zip';
|
---|
21 | url2 = 'http://prtools.tudelft.nl/prdatasets/shuttle.tst';
|
---|
22 | opt.dsetname = 'Statlog Shuttle';
|
---|
23 | [a,b] = pr_download_uci('Statlog+(Shuttle)',{url1,url2},[],[],[],[],[],' ');
|
---|
24 | a = setname(a,'Statlog Shuttle');
|
---|
25 | b = setname(b,'Statlog Shuttle');
|
---|
26 | if nargout < 2, a = [a;b]; end
|
---|