vx2*_*008 -5 python deprecation-warning
我运行了一个 Python 程序并得到了一个DeprecationWarning,比如:
D:\programs\anaconda2\lib\site-packages\sklearn\utils\deprecation.py:70: DeprecationWarning: Function log_multivariate_normal_density is deprecated; The function log_multivariate_normal_density is deprecated in 0.18 and will be removed in 0.20.
warnings.warn(msg, category=DeprecationWarning)
Run Code Online (Sandbox Code Playgroud)
我无法确认它有什么问题。什么是DeprecationWarning?
一般来说,开发人员正在开发库,并且在开发过程中有时会添加更改内容,有时会删除主题。删除是危险的,因为用户可能会使用它,如果开发人员想要删除一个东西,首先必须通知其他人不要使用这个功能或东西,然后他可以删除。和 DeprecationWarning 是此通知。
| 归档时间: |
|
| 查看次数: |
14288 次 |
| 最近记录: |