[142] | 1 | %AUDIOLOGY Standardized audiology dataset
|
---|
| 2 | %PRTools dataset import from UCI, 200+26 objects, 70 nominal features, 6 classes
|
---|
| 3 | %
|
---|
| 4 | % [TRAIN,TEST] = AUDIOLOGY(VAL)
|
---|
| 5 | % TRAIN_TEST = AUDIOLOGY(VAL)
|
---|
| 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/Audiology+%28Standardized%29">related website</a>
|
---|
| 10 | %for further information. Please make the appropriate references in
|
---|
| 11 | %publications that make use of this dataset.
|
---|
| 12 | %
|
---|
| 13 | %This dataset contains a number of categorical features with N > 2
|
---|
| 14 | %categories. They may be converted to N new real features by CAT2REAL.
|
---|
| 15 | %
|
---|
| 16 | %Dataset has missing values. By default all features with missing values are
|
---|
| 17 | %removed. Use VAL=NaN to avoid this. For other options see MISVAL.
|
---|
| 18 | %
|
---|
| 19 | %SEE ALSO <a href="http://37steps.com/prtools">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
|
---|
| 20 | %PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL, MISVAL
|
---|
| 21 |
|
---|
| 22 | % Copyright: R.P.W. Duin, r.p.w.duin@37steps.com
|
---|
| 23 |
|
---|
| 24 | function varargout = audiology(val)
|
---|
| 25 |
|
---|
| 26 | if nargin<1
|
---|
| 27 | val = 'f-remove';
|
---|
| 28 | end
|
---|
| 29 |
|
---|
| 30 | varargout = cell(1,nargout);
|
---|
| 31 | [varargout{:}] = pr_loadmatfile;
|
---|
| 32 | if isempty(varargout{1})
|
---|
| 33 | % no matfiles found, create them
|
---|
| 34 | opt.dsetname = 'Standardized Audiology';
|
---|
| 35 | [varargout{:}] = pr_download_uci('Audiology+(Standardized)',{'audiology.standardized.data','audiology.standardized.test'},opt);
|
---|
| 36 | end
|
---|
| 37 | varargout = varargout*misval(val);
|
---|
| 38 |
|
---|