changeset 23:30db29d5cf5c

fixing the bug which stopped treeLinkFeatures from working
author DaveM
date Wed, 08 Mar 2017 13:17:07 +0000
parents e3a1a7d38a3a
children 8613ec5ab369
files phase2/treeLinkFeatures.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)];