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

James Phillips zunzun@zunzun....
Thu Sep 30 13:28:11 CDT 2010


On Tue, Sep 28, 2010 at 10:46 AM,  <josef.pktd@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: 12833 bytes
Desc: not available
Url : http://mail.scipy.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: 2342 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-dev/attachments/20100930/9aec5593/attachment-0001.py 


More information about the SciPy-Dev mailing list