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

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


解决问题

coordinate_descent.py:491: ConvergenceWarning: Objective did not converge. You might want to increase the number of iterations. Fitting data with very small alpha may cause precision problems.
  ConvergenceWarning)

解决思路

coordinate_descent。收敛警告:目标未收敛。您可能希望增加迭代的次数。用非常小的alpha值拟合数据可能会导致精度问题。收敛警告)

解决方法

此信息提示为警告,即使不处理也不会影响代码编程。如果想要去掉,可以根据提示采用改进的方法!
目标未收敛,可以通过增加迭代的次数。或者用非常小的alpha值,进行拟合数据,但是这也可能会导致精度的准确性!

(0)

相关推荐