Skip to content

Commit 4dca599

Browse files
🎨 Update plots from pymc to arviz dependencies & replace param sd with sigma
1 parent 0975dfb commit 4dca599

7 files changed

+12
-12
lines changed

Diff for: examples/diagnostics_and_criticism/Bayes_factor.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@
694694
"name": "python",
695695
"nbconvert_exporter": "python",
696696
"pygments_lexer": "ipython3",
697-
"version": "3.7.6"
697+
"version": "3.8.5"
698698
}
699699
},
700700
"nbformat": 4,

Diff for: examples/diagnostics_and_criticism/Diagnosing_biased_Inference_with_Divergences.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
}
463463
],
464464
"source": [
465-
"pm.summary(short_trace).round(2)"
465+
"az.summary(short_trace).round(2)"
466466
]
467467
},
468468
{
@@ -495,7 +495,7 @@
495495
],
496496
"source": [
497497
"# plot the trace of log(tau)\n",
498-
"pm.traceplot({\"log(tau)\": short_trace.get_values(varname=\"tau_log__\", combine=False)});"
498+
"az.plot_trace({\"log(tau)\": short_trace.get_values(varname=\"tau_log__\", combine=False)});"
499499
]
500500
},
501501
{
@@ -774,7 +774,7 @@
774774
"# A small wrapper function for displaying the MCMC sampler diagnostics as above\n",
775775
"def report_trace(trace):\n",
776776
" # plot the trace of log(tau)\n",
777-
" pm.traceplot({\"log(tau)\": trace.get_values(varname=\"tau_log__\", combine=False)})\n",
777+
" az.plot_trace({\"log(tau)\": trace.get_values(varname=\"tau_log__\", combine=False)})\n",
778778
"\n",
779779
" # plot the estimate for the mean of log(τ) cumulating mean\n",
780780
" logtau = np.log(trace[\"tau\"])\n",
@@ -1156,7 +1156,7 @@
11561156
}
11571157
],
11581158
"source": [
1159-
"pm.summary(longer_trace).round(2)"
1159+
"az.summary(longer_trace).round(2)"
11601160
]
11611161
},
11621162
{
@@ -2099,7 +2099,7 @@
20992099
}
21002100
],
21012101
"source": [
2102-
"pm.summary(fit_ncp80).round(2)"
2102+
"az.summary(fit_ncp80).round(2)"
21032103
]
21042104
},
21052105
{
@@ -2370,7 +2370,7 @@
23702370
"name": "python",
23712371
"nbconvert_exporter": "python",
23722372
"pygments_lexer": "ipython3",
2373-
"version": "3.7.7"
2373+
"version": "3.8.5"
23742374
}
23752375
},
23762376
"nbformat": 4,

Diff for: examples/diagnostics_and_criticism/model_averaging.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@
993993
"name": "python",
994994
"nbconvert_exporter": "python",
995995
"pygments_lexer": "ipython3",
996-
"version": "3.7.6"
996+
"version": "3.8.5"
997997
}
998998
},
999999
"nbformat": 4,

Diff for: examples/diagnostics_and_criticism/model_comparison.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@
548548
"name": "python",
549549
"nbconvert_exporter": "python",
550550
"pygments_lexer": "ipython3",
551-
"version": "3.7.6"
551+
"version": "3.8.5"
552552
}
553553
},
554554
"nbformat": 4,

Diff for: examples/diagnostics_and_criticism/posterior_predictive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@
850850
"metadata": {
851851
"anaconda-cloud": {},
852852
"kernelspec": {
853-
"display_name": "pymc3-dev",
853+
"display_name": "Python (PyMC3 Dev)",
854854
"language": "python",
855855
"name": "pymc3-dev"
856856
},

Diff for: examples/diagnostics_and_criticism/sampler-stats.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@
549549
"name": "python",
550550
"nbconvert_exporter": "python",
551551
"pygments_lexer": "ipython3",
552-
"version": "3.7.7"
552+
"version": "3.8.5"
553553
}
554554
},
555555
"nbformat": 4,

Diff for: examples/getting_started.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3788,7 +3788,7 @@
37883788
"name": "python",
37893789
"nbconvert_exporter": "python",
37903790
"pygments_lexer": "ipython3",
3791-
"version": "3.7.7"
3791+
"version": "3.8.5"
37923792
}
37933793
},
37943794
"nbformat": 4,

0 commit comments

Comments
 (0)