Skip to content

Releases: danielward27/flowjax

v12.1.1

22 Apr 12:12
ee6a185
Compare
Choose a tag to compare

What's Changed

Full Changelog: v12.0.1...v12.1.1

v12.0.1

13 Mar 21:00
0947b63
Compare
Choose a tag to compare

Change jax.tree -> jax.tree_util to maintain compatibility with earlier jax versions. Thanks @mdmould!

What's Changed

Full Changelog: v12.0.0...v12.0.1

v12.0.0

12 Mar 19:22
7ca547e
Compare
Choose a tag to compare

All the breaking changes in this major release were introduced in #142, so if any issues arise, check #142 to see if it gives a hint on how to update. If anyone has any issues, please open an issue :)

What's Changed

Full Changelog: v11.3.0...v12.0.0

v11.3.0

16 Feb 10:15
e222982
Compare
Choose a tag to compare

A mix of additions/improvements/bug fixes, listed below. Thanks @mdmould for your help!

What's Changed

New Contributors

Full Changelog: v11.2.0...v11.3.0

v11.2.0

18 Dec 14:49
0883d7d
Compare
Choose a tag to compare

Release adds bisection search to invert the bijection in block neural autoregressive flows (BlockAutoregressiveNetwork).

Possible but unlikely breaking change:

  • BlockAutoregressiveNetwork inverse methods will no longer raise a NotImplementedError, which could be a breaking change e.g. if a user relies on exception handling.

What's Changed

Full Changelog: v11.1.0...v11.2.0

v11.1.0

06 Dec 16:01
e99c928
Compare
Choose a tag to compare

Should be no breaking changes from v11.0.0. Adds LogNormal and Laplace.

What's Changed

Full Changelog: v11.0.0...v11.1.0

v11.0.0

16 Nov 14:00
7d1fa6e
Compare
Choose a tag to compare

The most important breaking changes (in importance order) are:

1. Renaming of flows

  • All the flows have moved from being classes (with standard PascalCase naming) to functions with the standard snake_case naming.
  • Reason for change: None of the flows implemented any methods or extended the base class AbstractTransformed other than forwarding basic information about the bijection, so the use of classes was not needed. Instead, flows now are functions that return a Transformed distribution.

2. Key word only arguments

  • A lot of functions and classes now make use of key word only arguments to ensure more readable code (e.g. as TriangularAffine(loc, arr, lower=True) is much clearer than TriangularAffine(loc, arr, True).
  • This may introduce errors along the lines of TypeError: function takes at most ... arguments (... given), but this should be straightforward to fix by converting to using key word arguments where required.

3. Abstract{Distribution/Bijection}

  • Bijection has been renamed to AbstractBijection
  • Distribution has been renamed to AbstractDistribution

4. Custom bijections

  • Custom bijection implementations no longer need to manually validate input shapes, as the methods are automatically wrapped during an __init_subclass__ method in AbstractBijection. The bijection method _argcheck_and_cast has been removed as it is no longer needed.

What's Changed

Full Changelog: v10.1.0...v11.0.0

v10.1.0

27 Sep 13:22
65af173
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.0.5...v10.1.0

v10.0.5

26 Aug 14:01
f1970df
Compare
Choose a tag to compare

Updates SNPE example.

What's Changed

Full Changelog: v10.0.4...v10.0.5

v10.0.4

25 Aug 21:10
9a25658
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.0.3...v10.0.4