Finish logistic regression