PyMC3 3.11.2 (14 March 2021)
PyMC3 3.11.2 (14 March 2021)
New Features
pm.math.cartesiancan now handle inputs that are themselves >1D (see #4482).- Statistics and plotting functions that were removed in
3.11.0were 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_tracepm.compareplot→pm.plot_compare(here you might need to rename some columns in the input according to thearviz.plot_comparedocumentation)pm.autocorrplot→pm.plot_autocorrpm.forestplot→pm.plot_forestpm.kdeplot→pm.plot_kdepm.energyplot→pm.plot_energypm.densityplot→pm.plot_densitypm.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.memoizemodule was removed and replaced withcachetools. Thehashablefunction andWithMemoizationclass were moved topymc3.util(see #4525). pm.make_shared_replacementsnow retains broadcasting information which fixes issues with Metropolis samplers (see #4492).
Release manager for 3.11.2: Michael Osthege (@michaelosthege)