Skip to content

Commit 0483a79

Browse files
fix broken links on new website (#1538)
1 parent f83f788 commit 0483a79

36 files changed

+288
-198
lines changed

docs/advanced_tutorials.rst

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,74 @@ Advanced tutorials
66

77
Our advanced tutorials provide a detailed explanation of different methods. These
88
tutorials are meant as further reading for power-users (or users who are particularly
9-
interested in a particular feature of `sbi`), but they should not be required to
10-
successfully run `sbi`. If you are looking for brief answers to specific questions,
9+
interested in a particular feature of ``sbi``), but they should not be required to
10+
successfully run ``sbi``. If you are looking for brief answers to specific questions,
1111
check our `how-to guide <https://sbi.readthedocs.io/en/latest/how_to_guide.html>`_.
1212

13+
.. toctree::
14+
:maxdepth: 1
15+
16+
17+
Prior and simulator
18+
-------------------
19+
1320
.. toctree::
1421
:maxdepth: 1
1522

1623
advanced_tutorials/06_restriction_estimator.ipynb
17-
advanced_tutorials/10_diagnostics_posterior_predictive_checks.ipynb
18-
advanced_tutorials/11_diagnostics_simulation_based_calibration.ipynb
24+
25+
Neural nets
26+
-----------
27+
28+
.. toctree::
29+
:maxdepth: 1
30+
31+
advanced_tutorials/04_embedding_networks.ipynb
32+
advanced_tutorials/03_density_estimators.ipynb
1933
advanced_tutorials/12_iid_data_and_permutation_invariant_embeddings.ipynb
20-
advanced_tutorials/18_training_interface.ipynb
2134
advanced_tutorials/19_flowmatching_and_scorematching.ipynb
2235
advanced_tutorials/20_score_based_methods_new_features.ipynb
23-
advanced_tutorials/21_diagnostics_misspecification_checks.ipynb
36+
37+
38+
Training
39+
--------
40+
41+
.. toctree::
42+
:maxdepth: 1
43+
44+
advanced_tutorials/18_training_interface.ipynb
45+
advanced_tutorials/02_multiround_inference.ipynb
46+
47+
48+
Sampling
49+
--------
50+
51+
.. toctree::
52+
:maxdepth: 1
53+
2454
advanced_tutorials/15_importance_sampled_posteriors.ipynb
55+
56+
57+
58+
Diagnostics
59+
-----------
60+
61+
.. toctree::
62+
:maxdepth: 1
63+
64+
advanced_tutorials/10_diagnostics_posterior_predictive_checks.ipynb
65+
advanced_tutorials/11_diagnostics_simulation_based_calibration.ipynb
66+
advanced_tutorials/13_diagnostics_lc2st.ipynb
67+
advanced_tutorials/21_diagnostics_misspecification_checks.ipynb
2568
advanced_tutorials/14_mcmc_diagnostics_with_arviz.ipynb
69+
70+
71+
Visualization
72+
-------------
73+
74+
.. toctree::
75+
:maxdepth: 1
76+
77+
advanced_tutorials/05_conditional_distributions.ipynb
2678
advanced_tutorials/17_plotting_functionality.ipynb
2779
advanced_tutorials/07_sensitivity_analysis.ipynb

docs/advanced_tutorials/11_diagnostics_simulation_based_calibration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"the estimator should be made subject to several **diagnostic tests**. This needs to be\n",
1111
"performed before being used for inference given the actual observed data. _Posterior\n",
1212
"Predictive Checks_ (see [10_diagnostics_posterior_predictive_checks\n",
13-
"tutorial](http://localhost:8000/tutorials/10_diagnostics_posterior_predictive_checks.html)) provide one way to \"critique\" a trained\n",
13+
"tutorial](https://sbi.readthedocs.io/en/latest/advanced_tutorials/10_diagnostics_posterior_predictive_checks.html)) provide one way to \"critique\" a trained\n",
1414
"estimator based on its predictive performance. Another important approach to such\n",
1515
"diagnostics is simulation-based calibration as developed by [Cook et al,\n",
1616
"2006](https://www.tandfonline.com/doi/abs/10.1198/106186006X136976) and [Talts et al,\n",

docs/advanced_tutorials/13_diagnostics_lc2st.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"\n",
1010
" After a density estimator has been trained with simulated data to obtain a posterior, the estimator should be made subject to several diagnostic tests. This diagnostic should be performed before the posterior is used for inference given the actual observed data. \n",
1111
" \n",
12-
"*Posterior Predictive Checks* (see [tutorial 10](https://sbi.readthedocs.io/en/latest/tutorials/10_diagnostics_posterior_predictive_checks.html)) provide one way to \"critique\" a trained estimator via its predictive performance. \n",
12+
"*Posterior Predictive Checks* (see [this tutorial](https://sbi.readthedocs.io/en/latest/advanced_tutorials/10_diagnostics_posterior_predictive_checks.html)) provide one way to \"critique\" a trained estimator via its predictive performance. \n",
1313
" \n",
14-
"Another approach is *Simulation-Based Calibration* (SBC, see [tutorial 11](https://sbi.readthedocs.io/en/latest/tutorials/11_diagnostics_simulation_based_calibration.html)). SBC evaluates whether the estimated posterior is balanced, i.e., neither over-confident nor under-confident. These checks are performed ***in expectation (on average) over the observation space***, i.e. they are performed on a set of $(\\theta,x)$ pairs sampled from the joint distribution over simulator parameters $\\theta$ and corresponding observations $x$. As such, SBC is a ***global validation method*** that can be viewed as a necessary condition (but not sufficient) for a valid inference algorithm: If SBC checks fail, this tells you that your inference is invalid. If SBC checks pass, *this is no guarantee that the posterior estimation is working*.\n",
14+
"Another approach is *Simulation-Based Calibration* (SBC, see [this tutorial](https://sbi.readthedocs.io/en/latest/advanced_tutorials/11_diagnostics_simulation_based_calibration.html)). SBC evaluates whether the estimated posterior is balanced, i.e., neither over-confident nor under-confident. These checks are performed ***in expectation (on average) over the observation space***, i.e. they are performed on a set of $(\\theta,x)$ pairs sampled from the joint distribution over simulator parameters $\\theta$ and corresponding observations $x$. As such, SBC is a ***global validation method*** that can be viewed as a necessary condition (but not sufficient) for a valid inference algorithm: If SBC checks fail, this tells you that your inference is invalid. If SBC checks pass, *this is no guarantee that the posterior estimation is working*.\n",
1515
"\n",
1616
"**Local Classifier Two-Sample Tests** ($\\ell$-C2ST) as developed by [Linhart et al, 2023](https://arxiv.org/abs/2306.03580) present a new ***local validation method*** that allows to evaluate the correctness of the posterior estimator ***at a fixed observation***, i.e. they work on a single $(\\theta,x)$ pair. They provide necessary *and sufficient* conditions for the validity of the SBI algorithm, as well as easy-to-interpret qualitative and quantitative diagnostics. \n",
1717
" \n",

0 commit comments

Comments
 (0)