Skip to content Skip to sidebar Skip to footer

How To Find Beta Values In Logistic Regression Model With Sklearn

Based on the Logistic Regression function: I'm trying to extract the following values from my model in scikit-learn. and Where is the intercept and is the regression coeffic

Solution 1:

You can access the coefficient of the features using model.coef_.

It gives a list of values that corresponds to the values beta1, beta2 and so on. The size of the list depends on the amount of explanatory variables your logistic regression uses.


Post a Comment for "How To Find Beta Values In Logistic Regression Model With Sklearn"