PyMC3 3.11.2 (14 March 2021)
New Features
pm.math.cartesian
can now handle inputs that are themselves >1D (see #4482).- Statistics and plotting functions that were removed in
3.11.0
were brought back, albeit with deprecation warnings if an old naming scheme is used (see #4536). In order to future proof your code, rename these function calls:pm.traceplot
→pm.plot_trace
pm.compareplot
→pm.plot_compare
(here you might need to rename some columns in the input according to thearviz.plot_compare
documentation)pm.autocorrplot
→pm.plot_autocorr
pm.forestplot
→pm.plot_forest
pm.kdeplot
→pm.plot_kde
pm.energyplot
→pm.plot_energy
pm.densityplot
→pm.plot_density
pm.pairplot
→pm.plot_pair
Maintenance
- ⚠ Our memoization mechanism wasn't robust against hash collisions (#4506), sometimes resulting in incorrect values in, for example, posterior predictives. The
pymc3.memoize
module was removed and replaced withcachetools
. Thehashable
function andWithMemoization
class were moved topymc3.util
(see #4525). pm.make_shared_replacements
now retains broadcasting information which fixes issues with Metropolis samplers (see #4492).
Release manager for 3.11.2: Michael Osthege (@michaelosthege)