成功解决model_selection\_search.py:761: DeprecationWarning: The grid_scores_ attribute was deprecated in
成功解決model_selection\_search.py:761: DeprecationWarning: The grid_scores_ attribute was deprecated in
?
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
?
解決問題
sklearn\model_selection\_search.py:761: DeprecationWarning: The grid_scores_ attribute was deprecated in version 0.18 in favor of the more elaborate cv_results_ attribute. The grid_scores_ attribute will not be available from 0.20
? DeprecationWarning)
?
?
?
?
解決思路
警告地址:model_selection\_search.py:761:
grid_scores_屬性在0.18版本中被棄用,取而代之的是更精細的cv_results_屬性。grid_scores_屬性在0.20中不可用
棄用警告)
?
?
?
?
解決方法
該問題是警告信息,不處理亦可運行程序,只需理解一下即可!grid_scores_方法,在sklearn 0.18版本中被棄用,取而代之的是更精細的cv_results_方法
?
?
?
?
?
總結
以上是生活随笔為你收集整理的成功解决model_selection\_search.py:761: DeprecationWarning: The grid_scores_ attribute was deprecated in的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ML之xgboost:利用xgboost
- 下一篇: EL之AdaBoost:集成学习之Ada