function [ l,g ] = logistic( h_value, y)
%m = numel(h_value);
l = log(1 + exp(-y.*h_value'));% / m;
g = -(y.*sigmoid(y.*h_value'));% / m;
end