Question: pred _ train = lg . predict ( X _ train ) > 0 . 5 i It will show the summary of the logistic

pred_train = lg.predict(X_train)>0.5
i It will show the summary of the logistic regression model
B
lg = logit.fit()
ii It imports the statsmodels.api and loads most of the public parts of statsmodels
C
print(lg.summary())
iii It predicts the dependent variable on train data with default threshold of 0.5
D
import statsmodels.api as sm
iv It fits the logistic regression model on the train data set
Answer choices
Select only one option
A-iv,B-i,C-ii,D-iii
A-iii,B-iv,C-ii,D-i
A-ii,B-iii,C-iv,D-i
A-iii,B-iv,C-i,D-ii

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!