jav*_*vac 2 machine-learning scipy scikits scikit-learn
你能帮帮我解决这个问题吗?
C:\ Python27\lib\site-packages\sklearn\cross_validation.py:44:DeprecationWarning:在0.18版本中不推荐使用此模块,而是支持所有重构的类和函数都移动到的model_selection模块.另请注意,新CV迭代器的接口与此模块的接口不同.该模块将在0.20中删除."此模块将在0.20中删除.",DeprecationWarning)
该
C:\Python27\lib\site-packages\sklearn\cross_validation.py:44?: 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. Also, note that the interface of the new CV iterators is different from that of this module. This module will be removed in 0.20. "This module will be removed in 0.20.", DeprecationWarning)
只是一个弃用警告.
无需担心,但请记住,cross_val
将被删除0.20
.
此错误只是警告您开发人员将在执行此操作之前移动此功能.
只是一个例子.将来我们将不得不取代:
from sklearn.cross_validation import KFold
Run Code Online (Sandbox Code Playgroud)
有:
from sklearn.model_selection import KFold
Run Code Online (Sandbox Code Playgroud)
对于我在您发布的屏幕截图中可以看到的第二个错误,SA3L module
似乎没有安装.
归档时间: |
|
查看次数: |
3683 次 |
最近记录: |