Statsmodels score
问题 I am running a logistic regression using statsmodels and am trying to find the score of my regression. The documentation doesn't really provide much information about the score method unlike sklearn which allows the user to pass a test dataset with the y value and the regression coefficients i.e. lr.score(test_data, target) . What and how should I pass parameters to the statsmodels 's score function? Documentation: http://statsmodels.sourceforge.net/stable/generated/statsmodels.discrete