source: prdatasets/check_prdatasets.m

Last change on this file was 152, checked in by bduin, 5 years ago
File size: 744 bytes
Line 
1datasetdir = fileparts(which('isolet'));
2files = cellstr(ls([datasetdir '/*.m']));
3nocheck = {'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
9global ASK
10ASK = false;
11 
12for 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
21end
22
23
24 
25 
26 
27 
Note: See TracBrowser for help on using the repository browser.