成功解决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
0
0
0
1044
分享
相关文章
DFNet: Enhance Absolute Pose Regression withDirect Feature Matching
DFNet: Enhance Absolute Pose Regression withDirect Feature Matching
221 0
Objective-C 不是你想的那样
Ruby 和 Objective-C 这两种语言看上去好像天南地北:一种是动态语言,另一种则是静态语言;一种是解释型语言,另一种是编译型语言;一种有简洁的语法,另一种则是有点冗长的语法。从优雅的角度来看,Ruby似乎更能给我们一种自由的编程体验,所以很多人都放弃了Objective-C。
196 0
Objective-C 不是你想的那样
成功解决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
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等