Python binary logistic regression suggests lack of outcome variables
編輯:Python
use pandas Do binary logistics Regression always reports an error PatsyError: model is missing required outcome variables, Using the online code , The problem is logistic = smf.logit(y_train,X_train).fit() On this line of code , What's going on