Re: [SciPy-Dev] Wallenius hypergeometric distribution
Serendipitous timing! In principle I'd be happy to do that, but I know almost no C++, so I'm not sure if I'd be able to... Harry Date: Fri, 24 Jul 2020 07:54:26 -0700 From: Matt Haberland <mhaberla@calpoly.edu> To: SciPy Developers List <scipy-dev@python.org> Subject: Re: [SciPy-Dev] Wallenius hypergeometric distribution Message-ID: <CADuxUizWkhy1nkns+09hAkTXQ7TkyOhaVYwzMhdbp2TyZMOvaQ@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Funny that you should mention this now! On Tuesday we got permission from Agner Fog to use his C++ implementation (used in the R package BiasedUrn, https://cran.r-project.org/web/packages/BiasedUrn/index.html) under SciPy's license. Would you be interested in wrapping a C++ implementation? On Fri, Jul 24, 2020, 2:53 AM Harry Gulliver <gulliver.harry@gmail.com> wrote:
Hi all, new (potential) contributor here!
I'm working on a project using Wallenius' non-central hypergeometric distribution atm and noticed it's not yet available in scipy.stats, so thought I'd volunteer to add it. Could possibly also do Fisher's hypergeom while I'm at it.
Anything I ought to know before just writing some code and making a pull request? How can I best help?
Thanks! Harry
No worries. We can help with the C++ wrapping parts. On Fri, 24 Jul 2020, 18:55 Harry Gulliver, <gulliver.harry@gmail.com> wrote:
Serendipitous timing!
In principle I'd be happy to do that, but I know almost no C++, so I'm not sure if I'd be able to...
Harry
Date: Fri, 24 Jul 2020 07:54:26 -0700 From: Matt Haberland <mhaberla@calpoly.edu> To: SciPy Developers List <scipy-dev@python.org> Subject: Re: [SciPy-Dev] Wallenius hypergeometric distribution Message-ID: < CADuxUizWkhy1nkns+09hAkTXQ7TkyOhaVYwzMhdbp2TyZMOvaQ@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Funny that you should mention this now! On Tuesday we got permission from Agner Fog to use his C++ implementation (used in the R package BiasedUrn, https://cran.r-project.org/web/packages/BiasedUrn/index.html) under SciPy's license. Would you be interested in wrapping a C++ implementation?
On Fri, Jul 24, 2020, 2:53 AM Harry Gulliver <gulliver.harry@gmail.com> wrote:
Hi all, new (potential) contributor here!
I'm working on a project using Wallenius' non-central hypergeometric distribution atm and noticed it's not yet available in scipy.stats, so thought I'd volunteer to add it. Could possibly also do Fisher's hypergeom while I'm at it.
Anything I ought to know before just writing some code and making a pull request? How can I best help?
Thanks! Harry
SciPy-Dev mailing list SciPy-Dev@python.org https://mail.python.org/mailman/listinfo/scipy-dev
participants (2)
-
Harry Gulliver -
Ilhan Polat