我想通过使用熊猫从 csv 数据中加载姿势和运动。但是当我想加载数据时,总是会收到以下错误消息:
C:\Python\Python37\lib\site-packages\sklearn\linear_model\_logistic.py:765: ConvergenceWarning: lbfgs failed to converge (status=1):
STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.
Increase the number of iterations (max_iter) or scale the data as shown in:
https://scikit-learn.org/stable/modules/preprocessing.html
Please also refer to the documentation for alternative solver options:
https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression
extra_warning_msg=_LOGISTIC_SOLVER_CONVERGENCE_MSG)
据我了解,这意味着 lbfgs 算法没有收敛,因为已达到最大迭代次数。如何解决代码中的问题?我是 python 和 scikit 的新手,所以对于我可以做些什么来改进它有点迷茫。