PyMC3 3.11.1 (12 February 2021)
New Features
- Automatic imputations now also work with
ndarraydata, not justpd.Seriesorpd.DataFrame(see#4439). pymc3.sampling_jax.sample_numpyro_nutsnow returns samples from transformed random variables, rather than from the unconstrained representation (see #4427).
Maintenance
- We upgraded to
Theano-PyMC v1.1.2which includes bugfixes for...- ⚠ a problem with
tt.switchthat affected the behavior of several distributions, including at least the following special cases (see #4448)Bernoulliwhen all the observed values were the same (e.g.,[0, 0, 0, 0, 0]).TruncatedNormalwhensigmawas constant andmuwas being automatically broadcasted to match the shape of observations.
- Warning floods and compiledir locking (see #4444)
- ⚠ a problem with
math.log1mexp_numpyno longer raises RuntimeWarning when given very small inputs. These were commonly observed during NUTS sampling (see #4428).ScalarSharedVariablecan now be used as an input to other RVs directly (see #4445).pm.sampleandpm.find_MAPno longer change thestartargument (see #4458).- Fixed
Dirichlet.logpmethod to work with unit batch or event shapes (see #4454). - Bugfix in logp and logcdf methods of
Triangulardistribution (see #4470).
Release manager for 3.11.1: Michael Osthege (@michaelosthege)