function [y, prob] = classLogReg(w,X)
    prob = sigmoid(w'*X')';
    y = 2*(prob > 0.5) - 1;
end