Skip to content

Commit 8f74fcb

Browse files
michaelosthegejunpenglao
authored andcommitted
re-run almost all notebooks that use NUTS
1 parent fff0f94 commit 8f74fcb

38 files changed

+3556
-2063
lines changed

docs/source/notebooks/AR.ipynb

Lines changed: 22 additions & 21 deletions
Large diffs are not rendered by default.

docs/source/notebooks/BEST.ipynb

Lines changed: 44 additions & 44 deletions
Large diffs are not rendered by default.

docs/source/notebooks/Diagnosing_biased_Inference_with_Divergences.ipynb

Lines changed: 511 additions & 508 deletions
Large diffs are not rendered by default.

docs/source/notebooks/Euler-Maruyama_and_SDEs.ipynb

Lines changed: 205 additions & 68 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-hierarchical-advi-minibatch.ipynb

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-hierarchical-binominal-model.ipynb

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-hierarchical.ipynb

Lines changed: 162 additions & 42 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-linear.ipynb

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-robust-with-outlier-detection.ipynb

Lines changed: 249 additions & 221 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-robust.ipynb

Lines changed: 11 additions & 10 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM-rolling-regression.ipynb

Lines changed: 112 additions & 30 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GLM.ipynb

Lines changed: 465 additions & 91 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GP-Kron.ipynb

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GP-Latent.ipynb

Lines changed: 15 additions & 13 deletions
Large diffs are not rendered by default.

docs/source/notebooks/GP-SparseApprox.ipynb

Lines changed: 146 additions & 33 deletions
Large diffs are not rendered by default.

docs/source/notebooks/LKJ.ipynb

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

docs/source/notebooks/ODE_API_introduction.ipynb

Lines changed: 22 additions & 24 deletions
Large diffs are not rendered by default.

docs/source/notebooks/api_quickstart.ipynb

Lines changed: 65 additions & 58 deletions
Large diffs are not rendered by default.

docs/source/notebooks/bayes_param_survival_pymc3.ipynb

Lines changed: 24 additions & 26 deletions
Large diffs are not rendered by default.

docs/source/notebooks/bayesian_neural_network_advi.ipynb

Lines changed: 21 additions & 21 deletions
Large diffs are not rendered by default.

docs/source/notebooks/censored_data.ipynb

Lines changed: 160 additions & 47 deletions
Large diffs are not rendered by default.

docs/source/notebooks/cox_model.ipynb

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/source/notebooks/data_container.ipynb

Lines changed: 130 additions & 121 deletions
Large diffs are not rendered by default.

docs/source/notebooks/dp_mix.ipynb

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

docs/source/notebooks/empirical-approx-overview.ipynb

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

docs/source/notebooks/factor_analysis.ipynb

Lines changed: 36 additions & 35 deletions
Large diffs are not rendered by default.

docs/source/notebooks/gaussian-mixture-model-advi.ipynb

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

docs/source/notebooks/gaussian_process.ipynb

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/source/notebooks/getting_started.ipynb

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

docs/source/notebooks/normalizing_flows_overview.ipynb

Lines changed: 28 additions & 23 deletions
Large diffs are not rendered by default.

docs/source/notebooks/posterior_predictive.ipynb

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

docs/source/notebooks/probabilistic_matrix_factorization.ipynb

Lines changed: 140 additions & 54 deletions
Large diffs are not rendered by default.

docs/source/notebooks/putting_workflow.ipynb

Lines changed: 553 additions & 218 deletions
Large diffs are not rendered by default.

docs/source/notebooks/sampler-stats.ipynb

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

docs/source/notebooks/sampling_compound_step.ipynb

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
" }\n",
106106
" </style>\n",
107107
" <progress value='8000' class='' max='8000' style='width:300px; height:20px; vertical-align: middle;'></progress>\n",
108-
" 100.00% [8000/8000 00:02<00:00 Sampling 4 chains, 0 divergences]\n",
108+
" 100.00% [8000/8000 00:06<00:00 Sampling 4 chains, 0 divergences]\n",
109109
" </div>\n",
110110
" "
111111
],
@@ -120,8 +120,7 @@
120120
"name": "stderr",
121121
"output_type": "stream",
122122
"text": [
123-
"Sampling 4 chains for 1_000 tune and 1_000 draw iterations (4_000 + 4_000 draws total) took 4 seconds.\n",
124-
"The acceptance probability does not match the target. It is 0.6249748520956052, but should be close to 0.8. Try to increase the number of tuning steps.\n"
123+
"Sampling 4 chains for 1_000 tune and 1_000 draw iterations (4_000 + 4_000 draws total) took 8 seconds.\n"
125124
]
126125
}
127126
],
@@ -250,11 +249,11 @@
250249
{
251250
"data": {
252251
"text/plain": [
253-
"({'p_logodds__': array(0.), 'ni': array(0)},\n",
252+
"({'p_logodds__': array(0.20397629), 'ni': array(0)},\n",
254253
" [{'tune': True,\n",
255254
" 'scaling': array([1.]),\n",
256-
" 'accept': 0.012699688055762577,\n",
257-
" 'accepted': False}])"
255+
" 'accept': 0.7662261757775519,\n",
256+
" 'accepted': True}])"
258257
]
259258
},
260259
"execution_count": 6,
@@ -289,7 +288,7 @@
289288
{
290289
"data": {
291290
"text/plain": [
292-
"{'p_logodds__': array(0.), 'ni': array(0)}"
291+
"{'p_logodds__': array(0.20397629), 'ni': array(0)}"
293292
]
294293
},
295294
"execution_count": 7,
@@ -324,8 +323,8 @@
324323
{
325324
"data": {
326325
"text/plain": [
327-
"[<pymc3.step_methods.metropolis.Metropolis at 0x7f1bae476410>,\n",
328-
" <pymc3.step_methods.metropolis.BinaryGibbsMetropolis at 0x7f1baa12c350>]"
326+
"[<pymc3.step_methods.metropolis.Metropolis at 0x7fddc61d4910>,\n",
327+
" <pymc3.step_methods.metropolis.BinaryGibbsMetropolis at 0x7fddc6095bd0>]"
329328
]
330329
},
331330
"execution_count": 8,
@@ -366,8 +365,8 @@
366365
{
367366
"data": {
368367
"text/plain": [
369-
"[<pymc3.step_methods.metropolis.BinaryGibbsMetropolis at 0x7f1baa12c350>,\n",
370-
" <pymc3.step_methods.metropolis.Metropolis at 0x7f1bae476410>]"
368+
"[<pymc3.step_methods.metropolis.BinaryGibbsMetropolis at 0x7fddc6095bd0>,\n",
369+
" <pymc3.step_methods.metropolis.Metropolis at 0x7fddc61d4910>]"
371370
]
372371
},
373372
"execution_count": 9,
@@ -413,10 +412,10 @@
413412
"name": "stdout",
414413
"output_type": "stream",
415414
"text": [
415+
"numpy 1.18.5\n",
416416
"pymc3 3.9.0\n",
417417
"theano 1.0.4\n",
418-
"numpy 1.18.5\n",
419-
"last updated: Fri Jun 12 2020 \n",
418+
"last updated: Mon Jun 15 2020 \n",
420419
"\n",
421420
"CPython 3.7.7\n",
422421
"IPython 7.15.0\n",
@@ -446,7 +445,7 @@
446445
"name": "python",
447446
"nbconvert_exporter": "python",
448447
"pygments_lexer": "ipython3",
449-
"version": "3.6.10"
448+
"version": "3.7.7"
450449
},
451450
"latex_envs": {
452451
"LaTeX_envs_menu_present": true,

docs/source/notebooks/stochastic_volatility.ipynb

Lines changed: 132 additions & 52 deletions
Large diffs are not rendered by default.

docs/source/notebooks/updating_priors.ipynb

Lines changed: 22 additions & 21 deletions
Large diffs are not rendered by default.

docs/source/notebooks/variational_api_quickstart.ipynb

Lines changed: 21 additions & 21 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)