diff analysis/analyseBugScript.m @ 35:6155f4e3d37c

adding further debug script
author DaveM
date Fri, 17 Mar 2017 09:42:18 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/analysis/analyseBugScript.m	Fri Mar 17 09:42:18 2017 +0000
@@ -0,0 +1,25 @@
+
+% define Row
+
+row = 8968;
+
+classList = traceLinkageToBinary(linkList,row);
+X = data(classList>0,featureList{row,1});
+Y = classList(classList>0);
+pDepth = max(featureList{row,3}.PruneList)-1;
+
+T1 = prune(featureList{row,3},'Level',pDepth);
+[l,se] = loss(T1,X,Y)
+
+view(T1,'Mode','graph')
+
+%%
+pDepth = pDepth-1;
+
+T1 = prune(featureList{row,3},'Level',pDepth);
+[l,se] = loss(T1,X,Y)
+
+view(T1,'Mode','graph')
+
+%%
+view(T1)
\ No newline at end of file