[SciPy-Dev] GSoC: Integrate library UNU.RAN into scipy.stats

Ralf Gommers ralf.gommers at gmail.com
Mon Apr 12 04:09:52 EDT 2021


On Mon, Apr 12, 2021 at 5:00 AM Tirth Patel <tirthasheshpatel at gmail.com>
wrote:

> Hi Ralf,
>
> Thanks a lot for taking a look and for the positive feedback! I have tried
> to address your comments on the doc. Feel free to check them or ask for
> more changes.
>

Looks good. I suggest submitting it, since the deadline is tomorrow - don't
leave it till the last minute:)

Cheers,
Ralf


>
> Kind Regards,
> Tirth Patel
>
>
> On Sun, Apr 11, 2021 at 10:33 PM Ralf Gommers <ralf.gommers at gmail.com>
> wrote:
>
>>
>>
>> On Sun, Apr 11, 2021 at 10:46 AM Tirth Patel <tirthasheshpatel at gmail.com>
>> wrote:
>>
>>> Hi everyone,
>>>
>>> I have been working on a draft proposal lately and think it is almost
>>> ready. Please feel free to add suggestions/comments, if any.
>>>
>>> Proposal:
>>> https://docs.google.com/document/d/1xvRdpNVseTL8d7eWdiyY6rcNxBVKCXt81xE9HyXvtqE/edit?usp=sharing
>>>
>>
>> Hi Tirth, this is a very well-written proposal. I added one comment in
>> your GDoc about keeping some time for discussing the API with the community
>> and if needed iterating on it. Your proposal seems good to submit though,
>> it has enough detail and the plan and milestones look good.
>>
>> Cheers,
>> Ralf
>>
>>
>>
>>>
>>> Kind regards,
>>> Tirth Patel
>>>
>>>
>>>
>>> On Fri, Apr 2, 2021 at 7:19 PM Tirth Patel <tirthasheshpatel at gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I would like to participate in GSoC this year and found this project
>>>> very interesting!
>>>>
>>>> TL; DR: I have a few questions regarding the project:
>>>>   - Is the user interface desired as a separate python submodule
>>>> (inside `scipy.stats`) or does it serve as an extension of the `rvs`
>>>> method?
>>>>   - Should UNU.RAN C library be included as a submodule within SciPy
>>>> (e.g. gh-12043) or be cloned from a separate GitHub submodule (e.g
>>>> gh-13328)?
>>>>
>>>> About Me
>>>> ********
>>>> I am Tirth (@tirthasheshpatel on GitHub), a third-year computer
>>>> science undergrad student. I am quite familiar with Cython and a lot
>>>> of my college courses make use of C. I have a good knowledge of
>>>> probability theory and statistics.
>>>>
>>>> Open Source work: I have participated in GSoC with the PyMC team last
>>>> year. I am a contributor to SciPy since May 2020 and recently a
>>>> maintainer.
>>>>
>>>> About Project
>>>> *************
>>>> I had a question about the project. Is the user interface desired as a
>>>> separate python submodule inside `scipy.stats`? like:
>>>>
>>>>     import scipy.stats as stats
>>>>
>>>>     # sample a 1000 variates from a normal distribution
>>>>     # with mean 0 and std 1.5. Let UNU.RAN choose the method
>>>>     rvs = stats.random.normal(0., 1.5, size=1000, method='auto')
>>>>
>>>>     # sample 100 samples from the beta distribution using TDR method
>>>>     beta_rvs = stats.random.beta(1, 2, size=100, method='tdr')
>>>>
>>>>     # the `rvs` methods remains unaffected.
>>>>     norm_rvs = stats.norm.rvs(0, 1.5, size=1000)
>>>>
>>>> Or does it serve as an extension of the `rvs` method:
>>>>
>>>>     from scipy.stats import norm, beta
>>>>
>>>>     # something like this:
>>>>     # method = None => same behaviour as previous versions
>>>>     # method = 'auto' => use UNU.RAN and let it choose the method
>>>>     rvs = norm.rvs(0, 1.5, size=1000, method='auto')
>>>>
>>>>     beta_rvs = beta.rvs(1, 2, size=100, method='tdr')
>>>>
>>>> Also, should UNU.RAN C library be included as a submodule within SciPy
>>>> (e.g. gh-12043) or be cloned from a separate GitHub submodule (e.g
>>>> gh-13328)?
>>>>
>>>>
>>>> --
>>>> Kind Regards,
>>>> Tirth
>>>>
>>> _______________________________________________
>>> SciPy-Dev mailing list
>>> SciPy-Dev at python.org
>>> https://mail.python.org/mailman/listinfo/scipy-dev
>>>
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev at python.org
>> https://mail.python.org/mailman/listinfo/scipy-dev
>>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at python.org
> https://mail.python.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-dev/attachments/20210412/06bc671e/attachment.html>


More information about the SciPy-Dev mailing list