finished logistic regression classification