Skip to content

Releases: undark-lab/swyft

v0.4.5

15 Sep 13:46
ba1b474
Compare
Choose a tag to compare

What's Changed

Updates:

  • Modularisation of SwyftModule
  • Restructuring of configure_optimizers and configure_callbacks
  • New default is AdamW with early stopping
  • Alternatives with AdamW and OneCycleLR and ReduceLROnPlateau exist as well
  • Automatic reloading of best model at the end of training is default
  • Extended plot options
  • Add smooth_prior flag for interpolating likelihoods
  • Renaming of plotting routines (plot_posterior, plot_corner, plot_pair)
  • Update example notebook
  • Bug fix for labels in corner plot by @anchal-009 in #136

New Contributors

Full Changelog: v0.4.4...v0.4.5

v0.4.4

28 Jul 12:43
5ec9cd7
Compare
Choose a tag to compare

Overview

  • Included updated author list (AUTHOR file) and update LICENSE information
  • Add torch conjugate gradient to dependencies (for forthcoming applications)
  • Add list of Swyft publications and events to docs
  • pytorch-lighthing 2.0 compatibility not fully established (pending until 2.0 has feature parity with 1.9)
  • Add swyft.get_class_probs for extracting classification results from ratio estimators
  • Add LogRatioEstimator_Gaussian, a Gaussian ratio estimator for arbitrary dimensions
  • Deprecate LogRatioEstimator_1dim_Gaussian (worked only with 1dim features and 1dim parameters)
  • Rewritten logratios aggregator in swyft.Module to be more resilient
  • Add AuxLoss, which just enables to add arbitrary extra losses (e.g. related to regularisation) to the training object
  • Enable Spectral embedding for parameters in LogRatioEstimator_Ndim for high fidelity posteriors
  • Add LogRatioEstimator_Autoregressive, an autoregressive neural ratio estimator module

What's Changed

Full Changelog: v0.4.3...v0.4.4

v0.4.3

28 Apr 22:02
d60885e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.2...v0.4.3

Release v0.4.2

26 Apr 21:03
e9f19ff
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.4.2

Pre-release v0.4.2

12 Jan 08:05
06cc085
Compare
Choose a tag to compare
Pre-release v0.4.2 Pre-release
Pre-release

Overview

Fixes:

  • Math in docstrings
  • Functionality of LogRatioEstimator_1dim_Gaussian, added minstd argument for stability
  • Fix tqdm progress bars in notebooks

Enhancements:

  • Automatic plot axes assignment
  • LogRatioEstimators can take different summaries for different ratios
  • Coverage estimation uses noisy logratios in order to make coverage plots useful for classification problems

What's Changed

Full Changelog: v0.4.1.post1...v0.4.2-pre1

Post-release v0.4.1

12 Nov 22:47
781df98
Compare
Choose a tag to compare

Fix image link in readme.rst.

Bugfix release v0.4.1

12 Nov 22:33
Compare
Choose a tag to compare

Fixing installation and documentation bugs

Full Changelog: v0.4.0...v0.4.1

Release v0.4.0 (with new pytorch-lightning based API)

09 Nov 22:15
Compare
Choose a tag to compare

Release of Swyft with pytorch-lightning based API.

What's changed

  • Training is handled by pytorch-lightning
  • More flexible inference network architectures (enabling training of conditional ratios, ratios of different variables, etc)
  • New simulation model based on definition of the full graphical model
  • New ZarrStore for parallel simulations
  • More efficient handling of coverage tests

See tutorial notebooks for example use-cases.

What's next

  • Incorporation of all Swyft v0.3.x functionality (violin plots, etc)

Full Changelog: v0.3.2...v0.4.0

Pre-release v0.4.0 (aka swift-lightning)

27 Aug 13:37
Compare
Choose a tag to compare

First prerelease version of swyft v0.4.0 (aka swyft-lightning) with complete interface overhaul.

swyft: Truncated Marginal Neural Ratio Estimation in Python

04 Apr 16:04
Compare
Choose a tag to compare
  • Introduced a version using import swyft; swyft.__version__
  • Added labels for violin marginals.
  • Followed the requested changes from the JOSS review thread.

Full Changelog: v0.3.1...v0.3.2