A C++ implementation of Logistic Regression