|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +# Changelog |
| 4 | + |
| 5 | +## v0.25.0 |
| 6 | + |
| 7 | +### ✨ Highlights |
| 8 | + |
| 9 | +#### 🚀 New Inference Methods |
| 10 | + |
| 11 | +* **MNPE class similar to MNLE** by @dgedon in https://github.com/sbi-dev/sbi/pull/1362 |
| 12 | +* **Implementing SNPE-B (#199)** by @etouron1 in https://github.com/sbi-dev/sbi/pull/1471 |
| 13 | + |
| 14 | +#### 🧠 Neural Network Architectures & Embedding Networks |
| 15 | + |
| 16 | +* **Simple transformer implementation** by @NicolasRR in https://github.com/sbi-dev/sbi/pull/1494 |
| 17 | +* **Add embedding net that uses 1D causal convolutions (#1459)** by @Aranka-S in https://github.com/sbi-dev/sbi/pull/1499 |
| 18 | +* **Add LRU-backed embedding networks** by @famura in https://github.com/sbi-dev/sbi/pull/1512 |
| 19 | +* **Add ResNet as embedding model** by @StefanWahl in https://github.com/sbi-dev/sbi/pull/1472 |
| 20 | +* **Spectral convolution embedding net** by @L-in-da in https://github.com/sbi-dev/sbi/pull/1503 |
| 21 | + |
| 22 | +#### ⭐ Major Features & Capabilities |
| 23 | + |
| 24 | +* **Unify flow matching and score-based models** by @StarostinV in https://github.com/sbi-dev/sbi/pull/1497 |
| 25 | +* **Model misspecification based on MMD** by @coschroeder in https://github.com/sbi-dev/sbi/pull/1502 |
| 26 | +* **Marginal estimator log-prob based test for misspecification** by @swag2198 in https://github.com/sbi-dev/sbi/pull/1522 |
| 27 | +* **Adding interface for unconditional flow training** by @plcrodrigues in https://github.com/sbi-dev/sbi/pull/1470 |
| 28 | +* **Support using trained estimators in Pyro models** by @sethaxen in https://github.com/sbi-dev/sbi/pull/1491 |
| 29 | +* **Add util to generate mcmc samples from user defined potential (#1405)** by @hayden-johnson in https://github.com/sbi-dev/sbi/pull/1483 |
| 30 | +* **Logit transform** by @anastasiakrouglova in https://github.com/sbi-dev/sbi/pull/1485 |
| 31 | + |
| 32 | +#### 📚 Documentation & Tutorials |
| 33 | + |
| 34 | +* **Tutorial on new features for score-based methods #1392** by @touronc in https://github.com/sbi-dev/sbi/pull/1489 |
| 35 | +* **Docs: Introduce Readthedocs website** by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1463 |
| 36 | + |
| 37 | +### 🐛 Bug Fixes |
| 38 | + |
| 39 | +* z_score correct order in Zuko by @anastasiakrouglova in https://github.com/sbi-dev/sbi/pull/1492 |
| 40 | +* Minor fix when moving thetas from GPU to CPU by @famura in https://github.com/sbi-dev/sbi/pull/1515 |
| 41 | +* Minor fix while using unconditional density estimator and LRU embedding by @ARna06 in https://github.com/sbi-dev/sbi/pull/1556 |
| 42 | +* fix: replace 'in' operator with '==' for proper classifier comparison by @abelaba in https://github.com/sbi-dev/sbi/pull/1550 |
| 43 | +* flowmatching condition shape fix by @gmoss13 in https://github.com/sbi-dev/sbi/pull/1584 |
| 44 | +* patch for torch bug in tarp, run torch.histogram with cpu-only tensor by @psteinb in https://github.com/sbi-dev/sbi/pull/1596 |
| 45 | +* fix failing tarp test by @janfb in https://github.com/sbi-dev/sbi/pull/1628 |
| 46 | +* fix: cap max_sampling_batch_size to prevent excessive memory by @janfb in https://github.com/sbi-dev/sbi/pull/1624 |
| 47 | +* 1561 computation of denoising posterior precision matrix in jac method score fn iid by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1636 |
| 48 | +* fix xfail test, fix deprecation warnings by @janfb in https://github.com/sbi-dev/sbi/pull/1642 |
| 49 | + |
| 50 | +### 🛠️ Maintenance & Improvements |
| 51 | + |
| 52 | +#### 🔧 Code Quality & Refactoring |
| 53 | + |
| 54 | +* Refactoring flow and score matching classes and nets by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1544 |
| 55 | +* Rename inference trainer classes by @abelaba in https://github.com/sbi-dev/sbi/pull/1605 |
| 56 | +* Rename VectorFieldInference to VectorFieldTrainer by @abelaba in https://github.com/sbi-dev/sbi/pull/1614 |
| 57 | +* Refactor build_posterior to Eliminate Duplication Across Trainers by @abelaba in https://github.com/sbi-dev/sbi/pull/1610 |
| 58 | +* Refactor build posterior method arguments to use Literals by @abelaba in https://github.com/sbi-dev/sbi/pull/1606 |
| 59 | +* Refactor build_posterior Posterior Configuration Using Dataclasses by @abelaba in https://github.com/sbi-dev/sbi/pull/1619 |
| 60 | +* Use TypeAlias and consistent naming for sbi types by @janfb in https://github.com/sbi-dev/sbi/pull/1637 |
| 61 | +* Add protocol for estimator builder by @abelaba in https://github.com/sbi-dev/sbi/pull/1633 |
| 62 | +* Improve abc implementation by @janfb in https://github.com/sbi-dev/sbi/pull/1615 |
| 63 | + |
| 64 | +#### 🏷️ Type Hints & API Improvements |
| 65 | + |
| 66 | +* fix: add enum for flow options to fix type hints. by @janfb in https://github.com/sbi-dev/sbi/pull/1562 |
| 67 | +* fix LC2ST kwarg typing by @janfb in https://github.com/sbi-dev/sbi/pull/1565 |
| 68 | +* fix: Update RatioEstimator classifier argument to use a Protocol by @abelaba in https://github.com/sbi-dev/sbi/pull/1582 |
| 69 | +* Update append_simulations return type to Self by @abelaba in https://github.com/sbi-dev/sbi/pull/1622 |
| 70 | +* Deprecation Warnings for build_posterior stringly typed parameters by @abelaba in https://github.com/sbi-dev/sbi/pull/1627 |
| 71 | + |
| 72 | +#### 🧪 Testing & CI/CD |
| 73 | + |
| 74 | +* Testmon by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1452 |
| 75 | +* disable testmon for now by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1467 |
| 76 | +* chore: Use pytest-split plugin in ci workflow by @schroedk in https://github.com/sbi-dev/sbi/pull/1465 |
| 77 | +* tests: refactor "not slow" tests to be not so slow by @janfb in https://github.com/sbi-dev/sbi/pull/1495 |
| 78 | +* Test for known pytorch distribution transform issue by @dgedon in https://github.com/sbi-dev/sbi/pull/1504 |
| 79 | +* xfail scan test on python 3.13 by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1533 |
| 80 | +* Gpu test for VectorFieldPosterior by @jorobledo in https://github.com/sbi-dev/sbi/pull/1542 |
| 81 | +* set vector field iid-tests xfail by @janfb in https://github.com/sbi-dev/sbi/pull/1554 |
| 82 | +* Changed the xfail condition for LRU tests with mode='scan' by @famura in https://github.com/sbi-dev/sbi/pull/1552 |
| 83 | +* Fix/lru test by @Matthijspals in https://github.com/sbi-dev/sbi/pull/1568 |
| 84 | +* refactor sbc funcs and tests by @janfb in https://github.com/sbi-dev/sbi/pull/1578 |
| 85 | +* chore: remove testmon, add codecov test analytics by @janfb in https://github.com/sbi-dev/sbi/pull/1592 |
| 86 | +* chore: reorder setup steps for Python and uv in CI/CD workflows by @janfb in https://github.com/sbi-dev/sbi/pull/1601 |
| 87 | +* Fix/lc2st numpy type fixes by @janfb in https://github.com/sbi-dev/sbi/pull/1613 |
| 88 | +* Fix failing CI on main. by @janfb in https://github.com/sbi-dev/sbi/pull/1618 |
| 89 | + |
| 90 | +#### 📖 Documentation & Website |
| 91 | + |
| 92 | +* Fix tests for new docs by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1475 |
| 93 | +* Prevent notebook execution upon doc build by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1477 |
| 94 | +* Fix broken links on website by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1480 |
| 95 | +* fix: Update documentation folder path by @abelaba in https://github.com/sbi-dev/sbi/pull/1510 |
| 96 | +* fix path to contribute.md by @psteinb in https://github.com/sbi-dev/sbi/pull/1507 |
| 97 | +* Add utils to docs by @sethaxen in https://github.com/sbi-dev/sbi/pull/1520 |
| 98 | +* Update new Readthedocs website by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1519 |
| 99 | +* fix broken links on new website by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1538 |
| 100 | +* Fixups for new website landing page by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1539 |
| 101 | +* Fix: add tutorial page to mkdocs website by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1540 |
| 102 | +* Fix broken links in some tutorials by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1541 |
| 103 | +* Add examples to documentation by @jorobledo in https://github.com/sbi-dev/sbi/pull/1548 |
| 104 | +* docs: Add importance_sampling_parameters to build_posterior docstring. by @abelaba in https://github.com/sbi-dev/sbi/pull/1558 |
| 105 | +* Add missing arguments to LikelihoodEstimator and RatioEstimator docstrings. by @abelaba in https://github.com/sbi-dev/sbi/pull/1571 |
| 106 | +* Fixups for new RTD website by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1573 |
| 107 | +* Tutorial with a more representative training loop by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1574 |
| 108 | +* Fixups for rendering of HH tutorial notebook by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1575 |
| 109 | +* fix for colors in Hodgkin-Huxley notebook by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1576 |
| 110 | +* Add citations to how-to guide by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1579 |
| 111 | +* Clarify fullscreen view of applications-explorer by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1580 |
| 112 | +* Fixups for the documentation by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1585 |
| 113 | +* fixed misrendered bullet list, tested locally by @psteinb in https://github.com/sbi-dev/sbi/pull/1594 |
| 114 | +* Improvements to L-C2ST tutorial by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1588 |
| 115 | +* docs: Change colortheme in light mode by @michaeldeistler in https://github.com/sbi-dev/sbi/pull/1638 |
| 116 | + |
| 117 | +#### 🏗️ Infrastructure & Dependencies |
| 118 | + |
| 119 | +* Add uv support by @abelaba in https://github.com/sbi-dev/sbi/pull/1518 |
| 120 | +* switch to numfocus code of conduct by @janfb in https://github.com/sbi-dev/sbi/pull/1560 |
| 121 | +* Update readme with new JOSS citation by @janfb in https://github.com/sbi-dev/sbi/pull/1564 |
| 122 | +* update numfocus code of conduct by @janfb in https://github.com/sbi-dev/sbi/pull/1602 |
| 123 | +* Added Apache License reference comments to source files + CI bash script check by @nMaax in https://github.com/sbi-dev/sbi/pull/1599 |
| 124 | + |
| 125 | +#### 👥 User Experience & Warnings |
| 126 | + |
| 127 | +* Change xfail to skipif as outcome is not consistent by @gmoss13 in https://github.com/sbi-dev/sbi/pull/1487 |
| 128 | +* Add warning when using append_simulations with exclude_invalid_x=True by @abelaba in https://github.com/sbi-dev/sbi/pull/1486 |
| 129 | +* Batch sampling slow without warning by @dgedon in https://github.com/sbi-dev/sbi/pull/1490 |
| 130 | +* Clarify pbar annotation in sample_batched for DirectPosterior by @StefanWahl in https://github.com/sbi-dev/sbi/pull/1493 |
| 131 | + |
| 132 | +#### 🎮 GPU Support & Device Handling |
| 133 | + |
| 134 | +* Prior to(device) by @jorobledo in https://github.com/sbi-dev/sbi/pull/1505 |
| 135 | +* posterior.to(device) by @jorobledo in https://github.com/sbi-dev/sbi/pull/1527 |
| 136 | + |
| 137 | +#### 🔧 Miscellaneous Improvements |
| 138 | + |
| 139 | +* ref: update tests, add types and docs to marginal trainer by @janfb in https://github.com/sbi-dev/sbi/pull/1516 |
| 140 | +* integrate sbi application eplorer by @lappalainenj in https://github.com/sbi-dev/sbi/pull/1567 |
| 141 | +* fix: update notebook references by @emmanuel-ferdman in https://github.com/sbi-dev/sbi/pull/1563 |
| 142 | +* Update sbiutils.py to use one-dimensional batch by @vivienr in https://github.com/sbi-dev/sbi/pull/1577 |
| 143 | +* fix: remove empty list default argument by @abelaba in https://github.com/sbi-dev/sbi/pull/1608 |
| 144 | +* fix: throw exception on unsupported activation function by @emmanuel-ferdman in https://github.com/sbi-dev/sbi/pull/1609 |
| 145 | +* fix: resolve logger warnings by @emmanuel-ferdman in https://github.com/sbi-dev/sbi/pull/1598 |
| 146 | +* fix paths by @manuelgloeckler in https://github.com/sbi-dev/sbi/pull/1641 |
| 147 | + |
| 148 | +### 🎉 New Contributors |
| 149 | + |
| 150 | +* @abelaba made their first contribution in https://github.com/sbi-dev/sbi/pull/1486 |
| 151 | +* @dgedon made their first contribution in https://github.com/sbi-dev/sbi/pull/1490 |
| 152 | +* @StefanWahl made their first contribution in https://github.com/sbi-dev/sbi/pull/1493 |
| 153 | +* @touronc made their first contribution in https://github.com/sbi-dev/sbi/pull/1489 |
| 154 | +* @jorobledo made their first contribution in https://github.com/sbi-dev/sbi/pull/1505 |
| 155 | +* @hayden-johnson made their first contribution in https://github.com/sbi-dev/sbi/pull/1483 |
| 156 | +* @sethaxen made their first contribution in https://github.com/sbi-dev/sbi/pull/1491 |
| 157 | +* @etouron1 made their first contribution in https://github.com/sbi-dev/sbi/pull/1471 |
| 158 | +* @Aranka-S made their first contribution in https://github.com/sbi-dev/sbi/pull/1499 |
| 159 | +* @swag2198 made their first contribution in https://github.com/sbi-dev/sbi/pull/1522 |
| 160 | +* @StarostinV made their first contribution in https://github.com/sbi-dev/sbi/pull/1497 |
| 161 | +* @L-in-da made their first contribution in https://github.com/sbi-dev/sbi/pull/1503 |
| 162 | +* @NicolasRR made their first contribution in https://github.com/sbi-dev/sbi/pull/1494 |
| 163 | +* @vivienr made their first contribution in https://github.com/sbi-dev/sbi/pull/1577 |
| 164 | + |
| 165 | +**Full Changelog**: https://github.com/sbi-dev/sbi/compare/v0.24.0...v0.25.0 |
| 166 | + |
3 | 167 | ## v0.24.0
|
4 | 168 |
|
5 | 169 | ### ✨ Highlights
|
|
0 commit comments