Skip to content

2.0.12: New Transformers and PyMC Wrapper

Latest

Choose a tag to compare

@stefanradev93 stefanradev93 released this 08 May 21:51
· 3 commits to main since this release
a8fffba

This release includes several improvements, new integrations, and maintenance updates.

Highlights

  • Modernized transformers and deep sets (Breaking)
    Updated transformer implementations aligning with modern best-practices for faster convergence and more expressive summary networks.

  • PyMC wrapper for Neural Likelihood and Neural Ratio Estimation
    Added the long awaited PyMC wrapper supporting Neural Likelihood Estimation and Neural Ratio Estimation out of the box. Plug into any PyMC workflow as easy as:

from bayesflow.wrappers.pymc import NeuralDistribution
# works the same way with ratio or a continuous approximator
pymc_dist = NeuralDistribution(approximator=my_approximator, param_names=["a", "b", "c"])

New tutorials:

  • Neural Likelihood Estimation + PyMC

  • Neural Ratio Estimation + PyMC + HSSM

  • GLASS sampler for flow matching
    Added support for the GLASS sampler in flow matching workflows.

  • Improved testing suite
    Expanded and improved tests to increase reliability and coverage.

  • Minor bug fixes and improvements
    Includes smaller fixes, cleanup, and general quality-of-life improvements.