jax.scipy.stats module missing Poisson distribution
See original GitHub issueHi. At the moment, the jax.scipy.stats
module does not include the Poisson distribution.
Poissons would be quite nice to have, and is needed for use in physics libraries such as pyhf.
Are there any plans to add the Poisson? If not, are there specific issues that are keeping it from being added or just that a volunteer from the community hasn’t stepped up to volunteer the time to do so?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
jax.scipy.stats.poisson.pmf - JAX documentation
LAX-backend implementation of scipy.stats. ... arg1 (array_like) – The shape parameter(s) for the distribution (see docstring of the instance object for ...
Read more >scipy.stats.poisson — SciPy v1.9.3 Manual
A Poisson discrete random variable. As an instance of the rv_discrete class, poisson object inherits from it a collection of generic methods (see...
Read more >NumPyro documentation - Pyro
NumPyro is a lightweight probabilistic programming library that provides a NumPy backend for Pyro. We rely on JAX.
Read more >NumPyro Documentation - Read the Docs
42 Example: Zero-Inflated Poisson regression model ... Python Module Index ... Distributions: The numpyro.distributions module provides distribution classes ...
Read more >How can I obtain the mean of a Poisson distribution given the ...
The cumulative distribution function (CDF) for the Poisson ... from scipy.optimize import fsolve from scipy.stats import poisson def ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@matthewfeickert We are happy either way, at the moment. It’s probably not worth opening a PR until you have something that is more or less functionally correct, e.g., some tests passing.
We welcome contributions! I’m not aware of anything preventing a Poisson distribution. Most likely all it needs is a motivated person who wants to add it. If it’s useful to you, perhaps implement it and send a PR!