Logistic regression classifier