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


所有评论(0)