[SciPy-Dev] Subversion scipy.stats irregular problem with source code example

James Phillips zunzun at zunzun.com
Thu Sep 30 14:28:11 EDT 2010


On Tue, Sep 28, 2010 at 10:46 AM,  <josef.pktd at gmail.com> wrote:
>
> One of the main work for fitting is getting good starting values for
> individual distributions...

Attached is source code that uses Robert Kern's sandbox version of the
Differential Evolution genetic algorithm (diffev.py) to find starting
parameters of loc and scale, it works well in my tests.  I plan to use
this approach on the zunzun.com web site, having no better general
options than this one at the moment.  Note that I have slightly
modified Robert's code so that I can pass in a stopping criteria, that
file is also attached.

     James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffev.py
Type: text/x-python
Size: 12834 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100930/9aec5593/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.py
Type: text/x-python
Size: 2343 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100930/9aec5593/attachment-0001.py>


More information about the SciPy-Dev mailing list