why do we use logistic regression for classification code example Example: importing logistic regression sklearn.linear_model.LogisticRegression