logistic regression clean