-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update and execute notebooks * add bash script to run all notebooks * rearrange the tutorial page
- Loading branch information
1 parent
b2e74c9
commit 3fd91d3
Showing
31 changed files
with
2,507 additions
and
1,347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# Learn | ||
|
||
```{toctree} | ||
--- | ||
hidden: | ||
glob: | ||
--- | ||
.notebooks/*.md | ||
``` | ||
|
||
In this section, you can find tutorial notebooks that describe the internals of pyhgf, the theory behind the Hierarchical Gaussian filter, and step-by-step application and use cases of the model. At the beginning of every tutorial, you will find a badge [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ilabcode/pyhgf/blob/master/docs/source/notebooks/0-Creating_networks.ipynb) to run the notebook interactively in a Google Colab session. | ||
|
||
## Theory | ||
|
||
::::{grid} 2 | ||
|
||
:::{grid-item-card} Creating and manipulating networks of probabilistic nodes | ||
:link: probabilistic_networks | ||
:link-type: ref | ||
:img-top: ./images/graph_networks.svg | ||
|
||
How to create and manipulate a network of probabilistic nodes for reinforcement learning? Working at the intersection of graphs, neural networks and probabilistic frameworks. | ||
|
||
::: | ||
|
||
:::{grid-item-card} An introduction to the Hierarchical Gaussian Filter | ||
:link: theory | ||
:link-type: ref | ||
:img-top: ./images/trajectories.png | ||
|
||
|
||
How the generative model of the Hierarchical Gaussian filter can be turned into update functions that update nodes through value and volatility coupling? | ||
|
||
::: | ||
:::: | ||
|
||
|
||
## Tutorials | ||
|
||
::::{grid} 3 | ||
|
||
:::{grid-item-card} The binary Hierarchical Gaussian Filter | ||
:link: binary_hgf | ||
:link-type: ref | ||
:img-top: ./images/binary.png | ||
|
||
Introducing with example the binary Hierarchical Gaussian filter and its applications to reinforcement learning. | ||
|
||
::: | ||
|
||
:::{grid-item-card} The categorical Hierarchical Gaussian Filter | ||
:link: categorical_hgf | ||
:link-type: ref | ||
:img-top: ./images/categorical.png | ||
|
||
The categorical Hierarchical Gaussian Filter as a generalisation of the binary version. | ||
|
||
::: | ||
|
||
:::{grid-item-card} The continuous Hierarchical Gaussian Filter | ||
:link: continuous_hgf | ||
:link-type: ref | ||
:img-top: ./images/continuous.png | ||
|
||
|
||
Introducing with example the continuous Hierarchical Gaussian filter and its applications to signal processing. | ||
|
||
+++ | ||
|
||
::: | ||
:::: | ||
|
||
|
||
::::{grid} 3 | ||
|
||
:::{grid-item-card} Using custom response functions | ||
:link: custom_response_functions | ||
:link-type: ref | ||
:img-top: ./images/response_models.png | ||
|
||
|
||
How to adapt any model to specific behaviours and experimental design by using custom response functions. | ||
|
||
::: | ||
|
||
:::{grid-item-card} Embedding the Hierarchical Gaussian Filter in a Bayesian network for multilevel inference | ||
:link: multilevel_hgf | ||
:link-type: ref | ||
|
||
|
||
How to use any model as a distribution to perform hierarchical inference at the group level. | ||
|
||
::: | ||
|
||
:::{grid-item-card} Parameter recovery, prior and posterior predictive sampling | ||
:link: parameters_recovery | ||
:link-type: ref | ||
|
||
|
||
Recovering parameters from the generative model and using the sampling functionalities to estimate prior and posterior uncertainties. | ||
::: | ||
:::: | ||
|
||
## Use cases | ||
|
||
::::{grid} 3 | ||
|
||
:::{grid-item-card} Bayesian filtering of cardiac dynamics | ||
:link: example_1 | ||
:link-type: ref | ||
|
||
::: | ||
|
||
:::{grid-item-card} Value and volatility coupling with an input node | ||
:link: example_2 | ||
:link-type: ref | ||
:img-top: ./images/input_mean_precision.png | ||
|
||
::: | ||
:::: | ||
|
||
## Exercises | ||
|
||
Hand-on exercises to build intuition around the main components of the HGF and use an agent that optimizes its action under noisy observations. | ||
|
||
|
||
::::{grid} 2 | ||
|
||
:::{grid-item-card} Applying the Hierarchical Gaussian Filter through practical exercises | ||
:link: hgf_exercises | ||
:link-type: ref | ||
|
||
::: | ||
:::: |
Oops, something went wrong.