-2

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?

davidism
  • 121,510
  • 29
  • 395
  • 339
vx2008
  • 95
  • 1
  • 1
  • 10
  • 7
    Did you try reading the warning text? (If you don't know the meaning of the word "deprecated", you could simply look it up.) – user2357112 Jul 06 '17 at 09:00
  • The function log_multivariate_normal_density is deprecated in 0.18 and will be removed in 0.20. It is just what the warning says – seralouk Jul 06 '17 at 10:13

1 Answers1

7

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.

sahama
  • 669
  • 8
  • 16