Question: pred _ train = lg . predict ( X _ train ) > 0 . 5 i It will show the summary of the logistic
predtrain lgpredictXtrain
i It will show the summary of the logistic regression model
B
lg logitfit
ii It imports the statsmodels.api and loads most of the public parts of statsmodels
C
printlgsummary
iii It predicts the dependent variable on train data with default threshold of
D
import statsmodels.api as sm
iv It fits the logistic regression model on the train data set
Answer choices
Select only one option
AivBiCiiDiii
Aiii,BivCiiDi
AiiBiii,CivDi
Aiii,BivCiDii
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
