解决Lasso回归ConvergenceWarning: Objective did not converge. You might want to increase the number of it

  • Post author:
  • Post category:其他


调用Lasso()函数的时候指定max_iter为



>

1000

>1000






>








1


0


0


0





的数据。这是由于迭代次数不足导致的Lasso回归目标不能收敛。

参考

成功解决coordinate_descent.py:491: ConvergenceWarning: Objective did not converge. You might want to inc



版权声明:本文为weixin_47006934原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。