Mercurial > hg > sfx-subgrouping
comparison analysis/analyseBugScript.m @ 35:6155f4e3d37c
adding further debug script
author | DaveM |
---|---|
date | Fri, 17 Mar 2017 09:42:18 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
34:781ebde125cf | 35:6155f4e3d37c |
---|---|
1 | |
2 % define Row | |
3 | |
4 row = 8968; | |
5 | |
6 classList = traceLinkageToBinary(linkList,row); | |
7 X = data(classList>0,featureList{row,1}); | |
8 Y = classList(classList>0); | |
9 pDepth = max(featureList{row,3}.PruneList)-1; | |
10 | |
11 T1 = prune(featureList{row,3},'Level',pDepth); | |
12 [l,se] = loss(T1,X,Y) | |
13 | |
14 view(T1,'Mode','graph') | |
15 | |
16 %% | |
17 pDepth = pDepth-1; | |
18 | |
19 T1 = prune(featureList{row,3},'Level',pDepth); | |
20 [l,se] = loss(T1,X,Y) | |
21 | |
22 view(T1,'Mode','graph') | |
23 | |
24 %% | |
25 view(T1) |