Path: blob/master/lessons/lesson_08/code/Models - Logistic Regression, (Statsmodel), .ipynb
1904 views
Kernel: Python 3
In [1]:
In [2]:
In [7]:
In [3]:
Out[3]:
Test the hypothesis with...
Logistic Regression using statsmodels.
The sm.logit
function from statsmodels.formula.api
will perform a logistic regression using a formula string.
In [4]:
Out[4]:
Optimization terminated successfully.
Current function value: 0.692751
Iterations 3
Logistic Regression
In [9]:
Out[9]:
0.5133198106828939
In [ ]: