Probabilistic programming with NumPy powered by JAX for autograd and JIT compilation to GPU/TPU/CPU.
render_params
argument for render_model
SineBivariateVonMises
distribution__repr__
method for constraintsThanks, @cstoafer, @hesenp, @tcbegley, @themrzmaster, @karm-patel, @theorashid
numpyro.render_model
Thanks, @Vinnie-Palazeti, @wataruhashimoto52, @hessammehr, @OlaRonning, @d-diaz!
numpyro.contrib.indexing
is moved to numpyro.ops.indexing
kl_registry
cdf
methods for gamma, inverse gamma, log normal densitiesBetaProportion
distributionprior
to be callable in random_flax_module
and random_haiku_module
This release is composed of great contributions and feedback from the Pyro community: @amalvaidya @MarcoGorelli @omarfsosa @maw501 @bjeffrey92 @hessammehr @OlaRonning @dykim29 @Carlosbogo @wataruhashimoto52 @Vedranh13 @ahmadsalim @austereantelope and many others. Thank you!
Switch to softplus transforms for autoguide scales (thanks to experiments performed by @vitkl).
is_sparse
argumentThis release is composed of great contributions and feedback from the Pyro community: @MarcoGorelli @OlaRonning @d-diaz @quattro @svilupp @peterroelants @prashjet @freddyaboulton @tcbegley @julianstastny @alexlyttle and many others. Thank you!
This is a patch release with the following new feature and fixes:
In 0.7.0 release, the wheel file uploaded to PyPI had some files not updated. This release fixes that issue.
Since this release, NumPyro can be installed along with the latest jax
and jaxlib
releases (their version restrictions have been relaxed). In addition, NumPyro will use the default JAX platform so if you installed JAX with GPU/TPU support, their devices will be used by default.
cdf
and icdf
methods for many distributionsquantiles
method for models with non-scalar latent sites #1066center=1
#1059total_count=0
in Multinomial distribution #1000ExpandedDistribution.sample
method #972This release is made of great contributions and feedbacks from the Pyro community: @ahoho, @kpj, @gustavehug, @AndrewCSQ, @jatentaki, @tcbegley, @dominikstrb, @justinrporter, @dirmeier, @irustandi, @MarcoGorelli, @lumip, and many others. Thank you!
ProjectedNormal
distributionsample
primitive for masked conditioningAutoLowRankMultivariateNormal.quantiles
#921ExpandedDistribution
#909infer
key in handlers.lift
#892Thanks @loopylangur, Dominik Straub @dominikstrb, Jeremie Coullon @jeremiecoullon, Ola Rønning @OlaRonning, Lukas Prediger @lumip, Raúl Peralta Lozada @RaulPL, Vitalii Kleshchevnikov @vitkl, Matt Ludkin @ludkinm, and many others for your contributions and feedback!
New documentation page with galleries of tutorials and examples num.pyro.ai.
seed
handler.numpyro.contrib.einstein
, in preparing for (Ein)Stein VI inference in future releases.forward_shape
and inverse_shape
in Transform to infer output shape given input shape..run
method to get more samples.history
argument to support for Markov models with history > 1
in scan..to_event()
mask
handler for invalid data.logits
attribute to some discrete distributionshas_rsample
and rsample
attribute to distributionsparam
primitivesample
primitive.init
.rng_key
is missing.MCMC.warmup
.vectorized
chain method works for models with deterministic sites.help(Distribution)
.Thanks Ola Ronning @OlaRonning, Armin Stepanjan @ab-10, @cerbelaut, Xi Wang @xidulu, Wouter van Amsterdam @vanAmsterdam, @loopylangur, and many others for your contributions and helpful feedback!
log_prob
and sample
of VonMises
distribution.contrib.funsor
's plate
handler.