You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises.qmd
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,15 @@
2
2
title: "Exercises"
3
3
---
4
4
5
+
To run the exercise notebooks, download them first: Open the notebook on this website, then click on "Other formats" $\rightarrow$ "Jupyter" on the right side of the page.
6
+
5
7
## Generative neural networks
6
8
7
9
Here you can download example notebooks related to creating your own generative neural network architectures.
In this exercise, you will build a normalizing flow based on affine coupling from scratch using `keras`, that will learn to transform the [moons distribution](https://scikit-learn.org/stable/modules/generated/sklearn.datasets.make_moons.html) into a standard normal.
In this exercise, you will build a flow matching model using `keras` that transports a standard normal distribution into a distribution based on the [datasaurus](https://en.wikipedia.org/wiki/Datasaurus_dozen).
In this exercise, you will expand the flow matching model so that you can condition the distribution on contextual variables. This will enable you to learn a flow that transports a doghnut distribution into the [swiss roll distribution](https://scikit-learn.org/stable/modules/generated/sklearn.datasets.make_swiss_roll.html), mirrored along horizontal and vertical axes, depending on the context.
@@ -54,17 +54,15 @@ Swiss roll mirrored along vertical or horizontal axes
54
54
55
55
Please visit the BayesFlow repository to find a [bunch of examples](https://github.com/bayesflow-org/bayesflow?tab=readme-ov-file#getting-started) that can help you with BayesFlow. In addition, below are two exercise notebooks you can use to familiarize yourself with BayesFlow.
56
56
57
-
### Estimating the mean and variance of a gaussian variable
57
+
### Estimating parameters of a normal distribution
This notebook provides you with the very basics of the BayesFlow workflow - starting with defining simulators, through defining and training the neural approximators, and ending with network validation and inference.
This notebook provides you with a basic application of BayesFlow in the context of models of decision making - the Wald model of simple response times, and the racing diffusion model.
0 commit comments