source: prextra/comparche.m @ 52

Last change on this file since 52 was 5, checked in by bduin, 14 years ago
File size: 694 bytes
Line 
1
2W = {qdc,udc,ldc,nmc,treec,lmnc,parzenc,knnc,knnc([],1),loglc,svc,naivebc,rbnc,fdsc};
3
4ee.names = getname(W{1});
5for j=2:length(W)
6        ee.names = char(ee.names,getname(W{j}));
7end
8
9learnsizes = [2,5,7,10,15,20,30,50,70,100];
10
11iter = 25;
12for n = 1:8
13       
14e = zeros(length(W),length(learnsizes),iter);
15b = genarche(W{n},1000,0);
16for j=1:iter
17        for m = 1:length(learnsizes)
18                a = genarche(W{n},learnsizes(m),j);
19                for i=1:length(W)
20                        e(i,m,j) = b*(a*W{i})*testc;
21                        disp([n,j,m,i])
22                end
23        end
24end
25
26ee.error = mean(e,3);
27ee.xvalues = learnsizes;
28ee.std = std(e,[],3)/sqrt(iter);
29plotr(ee,[],[],[],'errorbar')
30save(['arche_' getmapping_file(W{n})],'ee','iter');
31
32end
33                       
Note: See TracBrowser for help on using the repository browser.