Replies: 2 comments 1 reply
-
I've often thought that we should have a separate repo for SciPy |
Beta Was this translation helpful? Give feedback.
0 replies
-
We could implement some Numba / Jax distributions that don't have an immediate Op in a backend by using a more clever dispatch (or even a Aesara rewrite). For instance in JAX: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I gathered the following table which enumerates the distributions available in
numpy
oraesara.tensor.random.basic
as well as whether they can be transpiled to Numba/JAX:name
tojax.random.name
. List of available distributions in the JAX documentation.Should we open issues for distributions that are missing from
numpy
/ for which there is no Numba implementation?A separate repo for probability distributions?
There are also many distributions that are implemented e.g. in scipy and that can be useful for bayesian inference (Wishart for instance). We probably don’t want to bloat
Aesara
with too many distributions, then I’d like to start a discussion about opening a separate repo (aerand
?) with distributions that are frequently used in bayesian inference. This would have several advantages:Aesara
to a minimum;aeppl
by moving the<name>_logprob
and<name>_logcd
funtions to this repo;aeppl
, but also for static validation. For instanceaeppl
could return a warning when asked to build the logprob graph for a model where parameters have incompatible support. For instance aNormal
prior on a standard deviation.Beta Was this translation helpful? Give feedback.
All reactions