成功解决This module was deprecated in version 0.18 in favor of the model_selection module into which all
成功解決This module was deprecated in version 0.18 in favor of the model_selection module into which all
?
?
?
?
目錄
解決問題
解決思路
解決辦法
?
?
?
?
?
解決問題
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. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
? "This module will be removed in 0.20.", DeprecationWarning)
?
?
?
解決思路
這個模塊是0.18版本不支持的model_selection模塊的所有類和函數的重構移動。還要注意,新的CV迭代器的接口與此模塊的接口不同。此模塊將在0.20中刪除。本模塊將被刪除,deprecationwarning)0.20。
很清楚,是版本問題,升級導致的不兼容!
?
?
?
解決辦法
將機器學習庫的cross_validation 改為model_selection即可!
大功告成!
?
?
?
?
?
總結
以上是生活随笔為你收集整理的成功解决This module was deprecated in version 0.18 in favor of the model_selection module into which all的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: DL之SoftmaxWithLoss:S
- 下一篇: 成功解决Could not instal