Calculate residual deviance from scikit-learn logistic regression model

Is there any way to calculate residual deviance of a scikit-learn logistic regression model? This is a standard output from R model summaries, but I couldn't find it any of sklearn's documentation.

1 answer

  • answered 2018-06-21 21:12 Jan K

    You cannot do it in scikit-learn but check out statsmodels, GLMResults(API)