Added logistic regression boilerplate code