when does logistic regression perform well code example Example: importing logistic regression sklearn.linear_model.LogisticRegression