How can I see the model specification ( implying variables) in logistic regression in python?
Since the logistic regression algorithm is quite similar to the linear regression algorithm up to a certain point, you can see model specification for logistic regression model similar to how you'll see for a linear regression model.
You can see the coefficients calculated for every feature in the logistic regression algorithm using:
model_logreg.coef_
model_logreg. intercept_
Comments
0 comments
Article is closed for comments.