[SciPy-Dev] Optimization to stats.dlaplace.rvs

Robert Kern robert.kern at gmail.com
Fri Nov 15 17:13:44 EST 2019


On Fri, Nov 15, 2019 at 4:01 PM Andrew Reed <reed at cs.unc.edu> wrote

> I imagine that implementing a new method for rvs will probability break
> the repeatability of previous versions of SciPy, and I'm not sure if this
> is a distribution that warrants optimization.
>

I don't think we've ever made such guarantees for the `rvs()` distribution
methods. In any case, moving from the inefficient default inversion to a
reasonably efficient sampling algorithm would win the argument over
stability. Tweaking an existing efficient algorithm, maybe you could argue
more in favor of stability, but as you point out, this is a GO/NO-GO kind
of improvement.

-- 
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20191115/36b6632c/attachment.html>


More information about the SciPy-Dev mailing list