Path: blob/master/notebooks/book2/12/neals_funnel_numpyro.ipynb
1193 views
Kernel: Python [conda env:py3713]
In [8]:
In [9]:
Out[9]:
/home/patel_karm/probml-utils/probml_utils/plotting.py:80: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
In [26]:
Out[26]:
centered
sample: 100%|██████████| 1000/1000 [00:02<00:00, 394.62it/s, 3 steps of size 4.38e-01. acc. prob=0.64]
mean std median 5.0% 95.0% n_eff r_hat
x -1.50 8.19 -0.00 -9.34 6.99 24.70 1.05
y 1.06 2.51 0.66 -2.62 4.70 18.52 1.01
Number of divergences: 44
non-centered
sample: 100%|██████████| 1000/1000 [00:02<00:00, 369.07it/s, 1 steps of size 7.85e-01. acc. prob=0.93]
mean std median 5.0% 95.0% n_eff r_hat
noise 0.07 1.00 0.08 -1.64 1.65 314.48 1.00
x 0.69 6.39 0.03 -3.62 4.61 283.60 1.00
y -0.03 2.95 0.07 -4.70 4.96 279.12 1.00
Number of divergences: 0
reparam
sample: 100%|██████████| 1000/1000 [00:02<00:00, 412.66it/s, 1 steps of size 7.85e-01. acc. prob=0.93]
/home/patel_karm/probml-utils/probml_utils/plotting.py:80: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
mean std median 5.0% 95.0% n_eff r_hat
x 0.69 6.39 0.03 -3.62 4.61 283.60 1.00
x_decentered 0.07 1.00 0.08 -1.64 1.65 314.48 1.00
y -0.03 2.95 0.07 -4.70 4.96 279.12 1.00
Number of divergences: 0
In [ ]: