source:
birds/birdsexp.m
@
104
Last change on this file since 104 was 65, checked in by dtax, 11 years ago | |
---|---|
File size: 420 bytes |
Line | |
---|---|
1 | load birds_7D; |
2 | a = makemillabeled(a,2); |
3 | |
4 | u = {... |
5 | scalem([],'variance')*milproxm([],'meanmin')*loglc2; |
6 | scalem([],'variance')*miles([],0.1); |
7 | }; |
8 | nrfolds = 10; |
9 | |
10 | nru = size(u,1); |
11 | I = nrfolds; |
12 | e = zeros(nru,nrfolds); |
13 | for f = 1:nrfolds |
14 | f |
15 | [x,z,I] = milcrossval(a,I); |
16 | for i=1:nru |
17 | w = x*u{i}; |
18 | e(i,f) = dd_auc(z*w*milroc); |
19 | end |
20 | end |
21 | R = results(e,getwnames(u),nrfolds); |
22 | show(average(100*R),'max1'); |
Note: See TracBrowser
for help on using the repository browser.