调用Lasso()函数的时候指定max_iter为 > 1000 >1000 >1000的数据。这是由于迭代次数不足导致的Lasso回归目标不能收敛。
参考成功解决coordinate_descent.py:491: ConvergenceWarning: Objective did not converge. You might want to inc

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐