example of logistic regression in machine learning Example: importing logistic regression sklearn.linear_model.LogisticRegression