# HG changeset patch # User DaveM # Date 1488979027 0 # Node ID 30db29d5cf5cd0f6764e19677c6789f7cfac2163 # Parent e3a1a7d38a3ac4a271a7518526dd814f1aec877f fixing the bug which stopped treeLinkFeatures from working diff -r e3a1a7d38a3a -r 30db29d5cf5c phase2/treeLinkFeatures.m --- a/phase2/treeLinkFeatures.m Tue Mar 07 19:03:46 2017 +0000 +++ b/phase2/treeLinkFeatures.m Wed Mar 08 13:17:07 2017 +0000 @@ -25,7 +25,7 @@ % rD = linkList(row,4); if(linkList(row,4) < depthThresh) classList = traceLinkageToBinary(linkList, row); - featureList{row,1} = rfFeatureSelection(data(classList>0,:), data(classList>0)); + featureList{row,1} = rfFeatureSelection(data(classList>0,:), classList(classList>0)); featureList{row,2} = linkList(row,4); end currentRow = [currentRow; linkList(row,1); linkList(row,2)];