logistic regression is based on which function code example Example: importing logistic regression sklearn.linear_model.LogisticRegression