Skip to content

Releases: pymc-devs/pymc

v6.0.1

20 May 21:12
f09f6b6

Choose a tag to compare

What's Changed

New Features 🎉

Bugfixes 🪲

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

13 May 08:39

Choose a tag to compare

What's Changed

See the announcement post for an overview of what's new in PyMC 6.0.

Major Changes 🛠

  • Depend on PyTensor 3.0 major release by @ricardoV94 in #8199
    • Default backend is now numba
      • set pytensor.config.linker = "cvm" to return to the old default.
    • Several imports have changed location and already deprecated functions were removed
    • Low level changes that shouldn't impact most users:
      • Autodiff L_op and R_op methods are now deprecated in favor of pull_back and push_forward
      • test_value machinery is deprecated
      • low-level random API changed
  • PyMC is now safely pip install-able
  • Make nutpie the default nuts sampler (if installed) by @ricardoV94 in #8248
    • pip install pymc[nutpie] is now available
  • Use arviz 1.0 by @aloctavodia in #8019
    • arviz.InferenceData replaced by xarray.DataTree
    • plot_trace replaced by plot_trace_dist (although plot_rank_dist is recommended instead)
    • default credible interval changed from 0.94 highest-density interval to 0.89 equal-tailed interval
    • InferenceData.extend replaced by DataTree.update
    • See the full migration guide for more details
  • Allow samplers to choose default number of tuning steps by @ricardoV94 in #8289
    • Default pymc nuts sampler remains at 1000 tuning steps. Nutpie defaults to 400. Set tune explicitly to control it.
  • Change sample_posterior_predictive API wrt to volatility by @ricardoV94 in #8209
    • Introduce sample_vars and freeze_vars argument to explicitly control which variables are resampled and which are reused from trace
    • Variables that are deemed "volatile" because they depend on data that has changed or variables being sampled will issue a warning instead of being resampled by default. Users should assign these variables to either sample_vars or freeze_vars to suppress the warning.
    • var_names has no effect on sampling semantics and only controls what variables are saved in the trace.
    • See docstrings for detailed examples.
  • Remove deprecated samples argument in sample_prior_predictive by @williambdean in #8204
  • Remove experimental warning from dims module by @ricardoV94 in #8137
  • Remove several functions and objects from PyMC root namespace by @ricardoV94 in #6973

New Features 🎉

Bugfixes 🪲

  • Validate coordinate and variables don't have the same names by @Chirag3841 in #8093

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: v5.28.0...v6.0.0

v5.28.5

01 May 14:33

Choose a tag to compare

What's Changed

Bugfixes 🪲

Maintenance 🔧

Full Changelog: v5.28.4...v5.28.5

v5.28.4

07 Apr 13:50

Choose a tag to compare

What's Changed

Maintenance 🔧

Full Changelog: v5.28.3...v5.28.4

v5.28.3

30 Mar 16:27

Choose a tag to compare

What's Changed

Bugfixes 🪲

Maintenance 🔧

New Contributors

Full Changelog: v5.28.2...v5.28.3

v5.28.2

09 Mar 17:42

Choose a tag to compare

What's Changed

Bugfixes 🪲

  • Fix broadcast check on log_jac_det by @velochy in #8174
  • Remove tune stat from steps and fix non-discarding of tuning draws from trace by @eclipse1605 in #8015

Maintenance 🔧

Full Changelog: v5.28.1...v5.28.2

v5.28.1

28 Feb 17:26

Choose a tag to compare

What's Changed

New Features 🎉

Maintenance 🔧

New Contributors

Full Changelog: v5.28.0...v5.28.1

v5.28.0

21 Feb 09:31

Choose a tag to compare

What's Changed

New Features 🎉

Maintenance 🔧

Full Changelog: v5.27.1...v5.28.0

v5.27.1

26 Jan 11:55

Choose a tag to compare

What's Changed

New Features 🎉

  • Added quiet argument to sample() to suppress all output. by @fonnesbeck in #8023
  • Implement logccdf helper for numerically stable log survival function by @maresb in #7996
  • Add logprob support for leaky-ReLU switch transforms by @eclipse1605 in #7995
  • Allow constant branches in logprob of switch/join/make_vector by @eclipse1605 in #8008
  • Implement Uniform and TruncatedNormal dims distributions by @ricardoV94 in #8065

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: v5.27.0...v5.27.1

v5.27.0

21 Dec 12:44

Choose a tag to compare

What's Changed

Major Changes 🛠

New Features 🎉

  • Automatically derive icdf for negative power transforms by @ricardoV94 in #7956
  • Added icdf for HalfStudentT by @dalai444 in #7919
  • Add ICDF for the Kumaraswamy distribution by @gokuld in #6642
  • Add power_spectral_density to RatQuad covariance kernel for HSGP support by @fonnesbeck in #7973
  • Adding Dirichlet and SimplexTransform to pymc.dims by @zaxtax in #7921

Bugfixes 🪲

  • Fix independent_rvs determination in vectorize_over_posterior by @lucianopaz in #7890

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: v5.26.1...v5.27.0