how to improve logistic regression model python