Solver lbfgs supports only “l2” or “none” penalties, got l1 penalty.解决办法
在用以下代码建立逻辑回归模型的时候lr=LogisticRegression(C=c_param,penalty=‘l1’)正则化惩罚选择’L1’报错LogisticRegression的参数如下:LogisticRegression(C=0.01,class_weight=None,dual=False,fit_intercept=True,intercept_scaling=1,l1_rati