Swyft

Latest version: v0.4.5

Safety actively analyzes 688512 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.4.1

Fixing installation and documentation bugs

**Full Changelog**: https://github.com/undark-lab/swyft/compare/v0.4.0...v0.4.1

0.4.0

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**: https://github.com/undark-lab/swyft/compare/v0.3.2...v0.4.0

0.4.0pre1

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

0.3.2

- Introduced a version using `import swyft; swyft.__version__`
- Added labels for violin marginals.
- Followed the requested changes from the [JOSS review thread](https://github.com/openjournals/joss-reviews/issues/4205).

**Full Changelog**: https://github.com/undark-lab/swyft/compare/v0.3.1...v0.3.2

0.3.1.post0

Big Changes
* Documentation and tests have been significantly improved with nearly all user facing functions having a useful docstring and test. There are also new example notebooks explaining all of the core functionality of swyft.
* The main inferences classes are now MarginalRatioEstimator, the trainable estimator, and MarginalPosterior, the marginal sampling tool. Older classes have been simply deleted. Truncated estimation must be done by the user, there is an example notebook if you want to see how.
* Priors have been updated and can be specified using pytorch distributions. Although the interpolated grid technique is still available, consider it deprecated and inaccurate.
* There is a WeightedMarginalSamples dataclass now which handles functionality internally. Marginals themselves are still dictionaries.
* This version has been submitted to JOSS.

What's Changed
* Fix simulator test warnings by fnattino in https://github.com/undark-lab/swyft/pull/77
* remove unstable simulator tests by fnattino in https://github.com/undark-lab/swyft/pull/85
* Refactor directory/memory stores as single objects by fnattino in https://github.com/undark-lab/swyft/pull/84
* update store/simulator notebooks following refactoring by fnattino in https://github.com/undark-lab/swyft/pull/92
* Rst vs md by bkmi in https://github.com/undark-lab/swyft/pull/94
* The future of swyft by bkmi in https://github.com/undark-lab/swyft/pull/82
* Fix Dask simulator performance issue by fnattino in https://github.com/undark-lab/swyft/pull/99


**Full Changelog**: https://github.com/undark-lab/swyft/compare/v0.2.1...v0.3.0

0.2.1

This release incorporates the changes made by the eScience center to the dask simulator as well as a small amount of complex number support.

What's Changed
* add pnames argument and attribute to DaskSimulator by fnattino in https://github.com/undark-lab/swyft/pull/55
* Issue/30 by rogerkuou in https://github.com/undark-lab/swyft/pull/56
* Fix unit test by rogerkuou in https://github.com/undark-lab/swyft/pull/75
* Simulator and store clean up by fnattino in https://github.com/undark-lab/swyft/pull/74
* added eScience examples Ext. Sim, Dir. Store, Dask Sim by meiertgrootes in https://github.com/undark-lab/swyft/pull/81
* fix stochastic behavior in simulator test by rogerkuou in https://github.com/undark-lab/swyft/pull/88
* Added notebooks demonstrating use of external simulators, directory store, and Dask simulator

New Contributors
* meiertgrootes made their first contribution in https://github.com/undark-lab/swyft/pull/81

**Full Changelog**: https://github.com/undark-lab/swyft/compare/v0.2.0...v0.2.1

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.