I ran a Python program and got a DeprecationWarning
, like:
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)
I can't confirm what is wrong about it. What is a DeprecationWarning
?
In general developers are developing libraries and in developing sometime add o change thing and sometime remove theme. removing is danger because user may used that and if a developer want to remove a thing first have to notify others to don't use this feature or things and after this he can remove. and DeprecationWarning is this notification.
来源:https://stackoverflow.com/questions/44944208/what-does-deprecationwarning-mean-when-running-python