成功解决sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in fav
成功解決sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in fav
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
解決問題
sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
? DeprecationWarning)
?
?
解決思路
sklearn\grid_search.py:42: 丟棄警告:這個模塊在0.18版本中被棄用,取而代之的是model_selection模塊,所有重構的類和函數都被移動到這個模塊中。這個模塊將在0.20中刪除。
?
?
解決方法
該問題是警告信息,而不是error,即使不處理亦可運行程序,只需理解一下即可!該庫未來的升級版本中,取而代之的是model_selection模塊,所有重構的類和函數都被移動到這個模塊中。這個模塊將在0.20中刪除。
?
?
?
?
總結
以上是生活随笔為你收集整理的成功解决sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in fav的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决SettingWithCopyW
- 下一篇: EL之DTRFGBT:基于三种算法(DT