source: prdatasets/check_prdatasets.m @ 156

Last change on this file since 156 was 152, checked in by bduin, 5 years ago
File size: 744 bytes
RevLine 
[142]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', ...
[152]6  'pr_loadmatfile','pr_datfiles','check_prdatasets','Contents', ...
7  'pr_readdataset', 'pr_savematfile','pr_showdsets'};
[142]8
9global ASK
10ASK = false;
11 
[152]12for n=1:numel(files)
[142]13  [dummy,file] = fileparts(files{n});
14  if isempty(strmatch(file,nocheck,'exact'))
[152]15    a = feval(file);
16    a = setprior(a,getprior(a,0)); % set priors on class frequencies
[142]17    if getsize(a,3) > 1
[152]18      disp([num2str(prcrossval(a,remclass*nmc,2,[],testd)) '  ' file])
[142]19    end
20  end
21end
22
23
24 
25 
26 
27 
Note: See TracBrowser for help on using the repository browser.