![](https://secure.gravatar.com/avatar/634276db962a81d2e8eb008236e8760d.jpg?s=120&d=mm&r=g)
On Wed, 13 Apr 2011, Bruce Southey wrote:
I did not run it very long because I saw this message: /usr/lib64/python2.7/site-packages/scipy/stats/distributions.py:1882: RuntimeWarning: invalid value encountered in double_scalars Lhat = muhat - Shat*mu
It seems that line 1874 (mu, mu2 = self.stats(*args,**{'moments':'mv'})) give mu and mu2 as inf's. So Lhat is nan and there are better uses for that cpu power than spinning around infinities ...
lucky you -- I got none of that warning. Although I must confess, scipy 0.9.0 is really "talkative" without any way to shut it really up: $> dpkg -L python-scipy | grep '\.py' | xargs grep -i "print.*warn" | head /usr/share/pyshared/scipy/signal/signaltools.py: print "Warning: imaginary part of x ignored." /usr/share/pyshared/scipy/signal/signaltools.py: print "Warning: imaginary part of x ignored." ... $> dpkg -L python-scipy | grep '\.py' | xargs grep -i "print.*warn" | wc -l 132 great to see that future 0.9.1 will be saner: $> git describe --tags v0.4.3-4868-g9b5db2c $> git grep -i 'print[^f].*war' | wc -l 47 -- =------------------------------------------------------------------= Keep in touch www.onerussian.com Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic