created logistic regression classifier