Skip to content

Releases: pymc-devs/pymc

v5.3.1

26 Apr 17:34
9f01be2
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bugfixes 🪲

Documentation 📖

Maintenance 🔧

New Contributors

  • @PlayingData made their first contribution in #6683
  • @dehorsley made their first contribution in #6674

Full Changelog: v5.3.0...v5.3.1

v5.3.0

14 Apr 03:08
aae97a2
Compare
Choose a tag to compare

What's Changed

Major Changes 🛠

  • Bump Pytensor dependency by @ricardoV94 in #6665
    • Latex and string representation of variables now uses long Distribution names x ~ N(0, 1) -> x ~ Normal(0, 1)

New Features 🎉

Bugfixes 🪲

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: v5.2.0...v5.3.0

v5.2.0

30 Mar 10:39
Compare
Choose a tag to compare

What's Changed

Major Changes 🛠

  • Rename logprob/joint_logp to logprob/basic and move logcdf and icdf functions there by @ricardoV94 in #6599

New Features 🎉

Documentation 📖

  • Add definition of B in documentation for Beta distribution by @JoKeyser in #6604
  • Fix a typo in the docstring for OrderedLogistic by @NathanielF in #6611
  • Improved docstring for predictions argument in sample_posterior_predictive by @fonnesbeck in #6616

Maintenance 🔧

New Contributors

Full Changelog: v5.1.2...v5.2.0

v5.1.2

13 Mar 20:59
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bugfixes 🪲

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: v5.1.1...v5.1.2

v5.1.1

08 Mar 13:30
Compare
Choose a tag to compare

While this release carries a minor-version number increase, it is actually a major release (5.1). 5.1.0 was skipped due to a packaging issue.

What's Changed

Major Changes 🛠

  • Access to external NUTS samplers (nutpie, blackjax, numpyro) with new sample() kwarg called nuts_sampler which often provide huge speed-ups and improved convergence by @twiecki and @ricardoV94 in #6422
  • Enforce dims elements to be strings by @ricardoV94 in #6470
  • Align DEMetropolis defaults with literature recommendations by @gbrunkhorst in #6488
  • Tests are no longer part of the package by @Armavica in #6540
  • Replace rvs_to_total_sizes mapping by MinibatchRandomVariables by @ricardoV94 in #6523

New Features 🎉

Bugfixes 🪲

Maintenance 🔧

New Contributors

Full Changelog: v5.0.2...v5.1.1

v5.1.0

03 Mar 08:40
Compare
Choose a tag to compare
v5.1.0 Pre-release
Pre-release

This release was skipped due to a packaging problem.

v5.0.2

19 Jan 17:42
Compare
Choose a tag to compare

What's Changed

Major Changes 🛠

New Features 🎉

  • Infer logprob of absolute operations and fix logprob of powers with negative values by @LukeLB in #6414

Bugfixes 🪲

  • Revert "Add informative error if user tries to use Aesara function with PyTensor variables by @ricardoV94 in #6440
  • Fix bug that does not correctly set the dtype of determinsitic variab… by @jessegrabowski in #6425

Maintenance 🔧

New Contributors

Full Changelog: v5.0.1...v5.0.2

v5.0.1

21 Dec 09:52
982e4c4
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bugfixes 🐛

  • Update PyTensor dependency and fix bugs in inferred mixture logprob by @ricardoV94 in #6397

Maintenance 🔧

New Contributors

Full Changelog: v5.0.0...v5.0.1

v5.0.0

12 Dec 19:42
f96594b
Compare
Choose a tag to compare

What's Changed

In this major release we are switching our graph computation backend from Aesara to PyTensor, which is a fork of Aesara under PyMC governance.
Read the full announcement here: PyMC is Forking Aesara to PyTensor.

The switch itself should be rather seamless and you can probably just update your imports:

import aesara.tensor as at       # old (pymc >=4,< 5)
import pytensor.tensor as pt     # new (pymc >=5)

If you encounter problems updating please check the latest Discussions and don't hesitate to get in touch.

Major Changes 🛠

  • ⚠ Switched the graph backend from Aesara to PyTensor
  • Merged AePPL into a new logprob submodule. Dispatch methods can be found in logprob.abstract
  • ⚠ The log_likelihood, needed for arviz.compare is no longer computed by default. It can be added with idata = pm.compute_log_likelihood(idata) or using pm.sample(idata_kwargs=dict(log_likelihood=True)) by @ricardoV94 in #6374
  • Changed Minibatch API by @ferrine in #6304
  • Fix ordering transformation for batched dimensions, and deprecate in favor of univariate_ordered and multivariate_ordered by @TimOliverMaier in #6255 and @ricardoV94 in #6375

New Features & Bugfixes 🎉

  • Support logp derivation in DensityDist when random function returns a PyTensor variable by @ricardoV94 in #6361
  • Added alternative parametrization for AsymmetricLaplace by @aloctavodia in #6337

Docs & Maintenance 🔧

New Contributors

Full Changelog: v4.4.0...v5.0.0

v4.4.0

19 Nov 21:05
cb37afa
Compare
Choose a tag to compare

What's Changed

Major Changes 🛠

  • Removed support for selectively tracking variables via pm.sample(trace=[...]). by @michaelosthege in #6269
  • Do not rely on tag information for rv and logp conversions by @ricardoV94 in #6281. This includes:
    • Deprecated accessing any of [value_variable|observations|transform|total_size] via var.tag in favor of model.rvs_to_[values|transforms|total_sizes]
    • Deprecated joint_logp in favor of model.logp
    • Deprecated aesaraf.rvs_to_value_vars in favor of model.replace_rvs_by_values
  • Using keyword seed for initial point no longer supported by @wd60622 in #6291
  • Sampling of transformed variables from prior_predictive is no longer allowed by @ricardoV94 in #6309
  • Require all step methods to return stats by @michaelosthege in #6313. This includes
    • Require all step methods to return stats from their step/astep method.
    • The BlockedStep.generates_stats attribute was removed.

New Features & Bugfixes 🎉

Docs & Maintenance 🔧

New Contributors

Full Changelog: v4.3.0...v4.4.0