view misc/reduceNoVarFeatures.m @ 23:30db29d5cf5c

fixing the bug which stopped treeLinkFeatures from working
author DaveM
date Wed, 08 Mar 2017 13:17:07 +0000
parents 985cd163ba54
children
line wrap: on
line source
noVar = [];
for i = 1:size(data,1)
    if(var(data(i,:)) == 0)
        noVar = [noVar;i];
    end
end

%%
data(noVar,:) = [];
noVarfeatures = features(noVar);
features(noVar) = [];


%%