Kizspy | Question: 18
(Choose 1 answer)
What is typically the first step in fitting a logistic regression model using scikit-learn?
A. import logistic regression from the sklearn.linear_model module
e.g. from sklearn.linear_model import Logistic Regression
B. import Logistic from the sklearn.regression module
e.g. from sklearn.regression import Logistic
C. import Logistic from the sklearn.linear_regression module
e.g. from sklearn.linear_regression import Logistic
D. import logistic regression from the sklearn.linearclassifer module
e.g. from sklearn.linear classifer import Logistic Regression