view misc/reduceNoVarFeatures.m @ 33:74d123779d3b

create analysis script to prune and write the relevant features for each level - including an 80% classification threshold on the tree - perhaps this can be addressed
author DaveM
date Wed, 15 Mar 2017 16:33:54 +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) = [];


%%