Releases: ComputationalPsychiatry/pyhgf
v0.2.7
What's Changed
- add unbounded posterior updates for volatility parents by @LegrandNico in #262
- support python 3.13 by @LegrandNico in #299
- v0.2.7 by @LegrandNico in #300
Full Changelog: v0.2.6...v0.2.7
v0.2.6
What's Changed
- add graphviz as dependency by @LegrandNico in #293
- update docs on binary node by @LegrandNico in #294
- use jax.nn.sigmoid by default by @LegrandNico in #295
- hide unobserved values when using plot_node() by @LegrandNico in #296
- create wheels for multiple Python version and OS support by @LegrandNico in #297
- update cargo configuration and CI file by @LegrandNico in #298
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's Changed
- Add observation types to belief_propagation by @SylvainEstebe in #274
- add an action component to the belief propagation step by @LegrandNico in #287
- fix links and proofs rendering in the documentation by @LegrandNico in #288
- add generative sampling functionalities to the Network class by @SylvainEstebe in #290
- use ruff for linting by @LegrandNico in #291
- update maturin and pyo3 by @LegrandNico in #292
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
This release fixes an important bug from the add_nodes
function that could create networks with inconsistent edges/attributes regarding value and volatility parents:
- fix the insert_nodes function for multiple parents/children by @LegrandNico in #279
The rest are maintenance issues related to publishing mixed Python/Ruste packages:
- v0.2.4 by @LegrandNico in #280
- use upload/download-artifact@v4 by @LegrandNico in #281
- fix pypi action by @LegrandNico in #282
- set rshgf as a sub-module by @LegrandNico in #283
- adapt the github action to the Rust submodule by @LegrandNico in #284
- use modern pyproject.toml structure to avoid conflicts with Maturin by @LegrandNico in #285
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
- update Github action for code coverage by @LegrandNico in #272
- add more tests and improve code coverage by @LegrandNico in #273
- set package version in pyproject.toml by @LegrandNico in #276
- use pytest-benchmark in CI by @LegrandNico in #277
- add a plot_network method using NetworkX as backende by @LouieMH in #275
- Add update function and tutorial on causal prediction errors by @LinaWalk13 in #249
- v0.2.3 by @LegrandNico in #278
New Contributors
- @LinaWalk13 made their first contribution in #249
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
- Update README.md by @LegrandNico in #265
- add remove_node function by @LouieMH in #267
- Add add_parent function by @LouieMH in #268
- input nodes can receive arrays of observations by @LegrandNico in #270
- Add support for generalised Bayesian filtering with dynamic learning rate in JAX by @LegrandNico in #266
- v0.2.2 by @LegrandNico in #271
New Contributors
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- use poetry for packaging by @LegrandNico in #246
- add citation guidelines by @LegrandNico in #248
- Add a Rust implementation for 1d Gaussian exponential family state nodes by @LegrandNico in #229
- Use Hashmaps, vector preallocation and avoid cloning [Rust] by @LegrandNico in #250
- refactor the add nodes methods by @LegrandNico in #251
- update links to the new tapas repository by @LegrandNico in #253
- fix maturin version in CI by @LegrandNico in #254
- refactoring utils module by @SylvainEstebe in #256
- update pyo3 to 0.23.3 by @LegrandNico in #258
- fix pre-commit paths and Rust CI by @LegrandNico in #260
- refactor continuous posterior updates module by @LegrandNico in #261
- Split posterior precision update into two branches by @LegrandNico in #263
- v0.2.1 by @LegrandNico in #264
New Contributors
- @SylvainEstebe made their first contribution in #256
Full Changelog: v0.2.0...v0.2.1
v0.2.0
This is a major update that will break the model construction. Input nodes have been removed, we should use instead regular state nodes that are set at the roots of the network. In most cases, this is just one line of code to change/remove. This will provide better consistency, especially when using custom networks with nested branches, and might also improve performance on some models.
What's Changed
- fix link in tutorial by @LegrandNico in #238
- Replace input nodes with state nodes receiving observations by @LegrandNico in #239
- update notebook for the method paper by @LegrandNico in #241
- update README and add new logo by @LegrandNico in #242
- update README: polished figures and descriptions by @LegrandNico in #243
- add new trajectories figure by @LegrandNico in #244
- v0.2.0 by @LegrandNico in #245
Full Changelog: v0.1.7...v0.2.0
v0.1.7
What's Changed
- fix pip install in cpc tutorial by @LegrandNico in #235
- qol fixes on documentation by @LegrandNico in #236
- Update init.py by @LegrandNico in #237
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- Update documenetaion for Zurich CPC by @LegrandNico in #230
- document HGF and Network classes properly by @LegrandNico in #233
- v0.1.6 by @LegrandNico in #234
Full Changelog: v0.1.5...v0.1.6