view misc/normData.m @ 22:e3a1a7d38a3a

fix bug in treeLinkFeature - was not performign feature selection correctly
author DaveM
date Tue, 07 Mar 2017 19:03:46 +0000
parents 985cd163ba54
children
line wrap: on
line source
function data = normData(data)

for i = 1:size(data,1)
   rn = max(data(i,:)) -  min(data(i,:));
   data(i,:) = (data(i,:) - min(data(i,:))) / rn;
end

end