Skip to content

Commit

Permalink
reorganize tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Nov 2, 2023
1 parent 5909f48 commit 654bc89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nav:
- Learning summary statistics: tutorial/05_embedding_net.md
- Handling invalid simulations: tutorial/08_restriction_estimator.md
- Crafting summary statistics: tutorial/10_crafting_summary_statistics.md
- SBI with trial-based (mixed) data: tutorial/14_multi-trial-data-and-mixed-data-types.md
- SBI with trial-based data: tutorial/14_iid_data_and_permutation_invariant_embeddings.md
- Diagnostics:
- Posterior predictive checks: tutorial/12_diagnostics_posterior_predictive_check.md
- Simulation-based calibration: tutorial/13_diagnostics_simulation_based_calibration.md
Expand All @@ -28,6 +28,7 @@ nav:
- Posterior sensitivity analysis: tutorial/09_sensitivity_analysis.md
- Examples:
- Hodgkin-Huxley example: examples/00_HH_simulator.md
- Decision making model: examples/01_decision_making_model.md
- Contributing:
- Guide: contribute.md
- Code of Conduct: code_of_conduct.md
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions tutorials/15_mcmc_diagnostics_with_arviz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"\n",
"Outline:\n",
"\n",
"1) Train MNLE to approximate the likelihood underlying the simulator\n",
"2) Run MCMC using `pyro` MCMC samplers via `sbi` interface\n",
"1) Train MNLE to approximate the likelihood underlying the simulator \n",
"2) Run MCMC using `pyro` MCMC samplers via `sbi` interface \n",
"3) Use `arviz` to visualize the posterior, predictive distributions and MCMC diagnostics. "
]
},
Expand Down Expand Up @@ -67,7 +67,7 @@
"source": [
"## Train MNLE to approximate the likelihood\n",
"\n",
"For this tutorial, we will use a simple simulator with two parameters. For details see the [example on the decision making model](https://www.mackelab.org/sbi/tutorial/17_SBI_for_models_of_decision_making.ipynb/). \n",
"For this tutorial, we will use a simple simulator with two parameters. For details see the [example on the decision making model](https://sbi-dev.github.io/sbi/examples/01_decision_making_model.md/). \n",
"\n",
"Here, we pass `mcmc_method=\"nuts\"` in order to use the underlying [`pyro` No-U-turn sampler](https://docs.pyro.ai/en/1.8.1/mcmc.html#nuts), but it would work as well with other samplers (e.g. \"slice_np_vectorized\", \"hmc\"). \n",
"\n",
Expand Down

0 comments on commit 654bc89

Please sign in to comment.