Line | |
---|
1 | datasetdir = fileparts(which('isolet'));
|
---|
2 | files = cellstr(ls([datasetdir '/*.m']));
|
---|
3 | nocheck = {'pr_dataset','pr_download','pr_download_uci', ...
|
---|
4 | 'pr_callername','pr_cell2dset','pr_getdata', ...
|
---|
5 | 'mfeat_all', 'pr_readdataset','pr_dset_align', ...
|
---|
6 | 'pr_loadmatfile','pr_datfiles','check_prdatasets','Contents', ...
|
---|
7 | 'pr_readdataset', 'pr_savematfile','pr_showdsets'};
|
---|
8 |
|
---|
9 | global ASK
|
---|
10 | ASK = false;
|
---|
11 |
|
---|
12 | for n=1:numel(files)
|
---|
13 | [dummy,file] = fileparts(files{n});
|
---|
14 | if isempty(strmatch(file,nocheck,'exact'))
|
---|
15 | a = feval(file);
|
---|
16 | a = setprior(a,getprior(a,0)); % set priors on class frequencies
|
---|
17 | if getsize(a,3) > 1
|
---|
18 | disp([num2str(prcrossval(a,remclass*nmc,2,[],testd)) ' ' file])
|
---|
19 | end
|
---|
20 | end
|
---|
21 | end
|
---|
22 |
|
---|
23 |
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.