Mercurial > hg > sfx-subgrouping
comparison phase2/treeLinkFeatures.m @ 30:b3396ee02c42
include output for each line
author | DaveM |
---|---|
date | Wed, 15 Mar 2017 11:23:40 +0000 |
parents | dafd1f69cd63 |
children | 55813e99c6cf |
comparison
equal
deleted
inserted
replaced
29:dafd1f69cd63 | 30:b3396ee02c42 |
---|---|
39 currentRow = [2*listSize-1]; | 39 currentRow = [2*listSize-1]; |
40 | 40 |
41 %% | 41 %% |
42 while (~isempty(currentRow)) | 42 while (~isempty(currentRow)) |
43 if(currentRow(1) > listSize) | 43 if(currentRow(1) > listSize) |
44 row = currentRow(1) - listSize; | 44 row = currentRow(1) - listSize |
45 % rD = linkList(row,4); | 45 % rD = linkList(row,4); |
46 if any(linkList(row,4)==depthThresh) | 46 if any(linkList(row,4)==depthThresh) |
47 classList = traceLinkageToBinary(linkList, row); | 47 classList = traceLinkageToBinary(linkList, row); |
48 featureList{row,1} = rfFeatureSelection(data(classList>0,:), classList(classList>0)); | 48 featureList{row,1} = rfFeatureSelection(data(classList>0,:), classList(classList>0)); |
49 featureList{row,2} = linkList(row,4); | 49 featureList{row,2} = linkList(row,4); |