Stream: helpdesk (published)

Topic: ✔ Unitful parameters in Distributions.jl


view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 13:11):

What is your opinion regarding unitful parameters in distributions?

https://github.com/JuliaStats/Distributions.jl/issues/1940

view this post on Zulip Daniel VandenHeuvel (Jan 21 2025 at 13:20):

I feel like the "strong reason" for many issues is that no one's had a need for it / felt compelled to implement it.

view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 13:21):

I feel the same. Just want to double check it before spending time working on a PR.

view this post on Zulip Daniel VandenHeuvel (Jan 21 2025 at 13:23):

Searching for past unitful issues shows the same question you asked in back in 2022 - I imagine the response would be the same

view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 13:36):

Apparently this has been discussed by multiple people in the past, without much progress on the Distributions.jl package itself.

view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 13:37):

(matching past experience)

view this post on Zulip Notification Bot (Jan 21 2025 at 13:37):

Júlio Hoffimann has marked this topic as resolved.

view this post on Zulip Daniel VandenHeuvel (Jan 21 2025 at 13:44):

I mean, it does seem like they would review a PR judging from those past issues

view this post on Zulip Daniel VandenHeuvel (Jan 21 2025 at 13:44):

Just happens to be a lot of work

view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 13:45):

There is an open PR for Exponential, but no progress. I am afraid of working on it and wasting my time without a prior agreement on what is the minimum amount of work needed to get the changes merged.

view this post on Zulip John Lapeyre (Jan 21 2025 at 15:59):

Tell me about it. This is often a bar to me making a PR.

view this post on Zulip Júlio Hoffimann (Jan 21 2025 at 16:08):

Yes. The current maintainer is very reluctant to change. I will start looking into MeasureTheory.jl because Distributions.jl is frozen in time.

view this post on Zulip John Lapeyre (Jan 21 2025 at 21:17):

John Lapeyre said:

This is often a bar to me making a PR.

To be clear, I was not talking about Distributions.jl in particular.


Last updated: Jan 29 2025 at 04:38 UTC