We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent facf167 commit 9e92870Copy full SHA for 9e92870
lectures/bayes_nonconj.md
@@ -768,9 +768,20 @@ Now let's use MCMC while still using a beta prior.
768
We'll do this for both MCMC and VI.
769
770
```{code-cell} ipython3
771
+---
772
+mystnb:
773
+ figure:
774
+ caption: |
775
+ MCMC sampling density of posterior distributions
776
+ name: mcmc
777
778
+
779
BayesianInferencePlot(true_theta, num_list, BETA).MCMC_plot(
780
num_samples=MCMC_num_samples
781
)
782
+```
783
784
+```{code-cell} ipython3
785
BayesianInferencePlot(true_theta, num_list, BETA).SVI_plot(
786
guide_dist="beta", n_steps=SVI_num_steps
787
0 commit comments