An implementation of logistic regression in c++, with batch gradient descent algorithm