PyHGF: A neural network library for predictive coding
https://computationalpsychiatry.github.io/pyhgf/ β HEALTH ? 92 / Healthy
PyHGF: A neural network library for predictive coding
https://computationalpsychiatry.github.io/pyhgf/ β// readme
PyHGF is a Python library for creating and manipulating dynamic probabilistic networks for predictive coding. These networks approximate Bayesian inference by optimising beliefs through the diffusion of predictions and precision-weighted prediction errors. The graph structure remains flexible during message-passing steps, allowing for dynamic adjustments. They can be used as a biologically plausible cognitive model in computational neuroscience or as a generalisation of Bayesian filtering for designing efficient, modular decision-making agents. With the current version you can: