[SciPy-Dev] distributions.ncf.fit -- never converges?

josef.pktd at gmail.com josef.pktd at gmail.com
Wed Apr 13 12:53:54 EDT 2011


On Wed, Apr 13, 2011 at 10:34 AM, Yaroslav Halchenko
<lists at onerussian.com> wrote:
> Since 0.9.0 (not present in 0.7.2), distributions.ncf.fit seems to never
> converge.  could anyone check in development tree if the below call ever
> returns (I was waiting for minutes... with 0.7.2 it was taking just a moment):
>
>  python -c 'import scipy.stats.distributions as ssd, numpy as np; d=ssd.ncf; d.fit(np.array([-0.03756533,  0.18115522,  0.06605958, -0.09195276,  0.06162608, 0.07139736, -0.1570828 , -0.11967677, -0.19186652,  0.29411319]));'

I only have 0.9.0, I forgot to kill the process and 1 hour 22 minutes
of cpu time later it still hadn't returned.
At least a maximum iteration or maximum function evaluation should
have stopped it.

Josef


>
> Thanks in advance!
>
> --
> =------------------------------------------------------------------=
> Keep in touch                                     www.onerussian.com
> Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



More information about the SciPy-Dev mailing list