【Bug】ValueError: Solver lbfgs supports only ‘l2‘ or ‘none‘ penalties, got l1 penalty
报错信息:ValueError:Solverlbfgssupportsonly‘l2‘or‘none‘penalties,gotl1penalty原始代码:log_reg=LogisticRegression()使用网格搜索寻优时:param_test={'penalty':['l2','l1'],'C':[0.01,0.1,1.0,10,100],'class_weight':[None,'ba