{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 25. Variational Bayesian inference\n", "\n", "*Heidi Klumpe contributed significantly to this lesson.*\n", "\n", "
\\n\"+\n", " \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n", " \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n", " \"
\\n\"+\n", " \"\\n\"+\n",
" \"from bokeh.resources import INLINE\\n\"+\n",
" \"output_notebook(resources=INLINE)\\n\"+\n",
" \"
\\n\"+\n",
" \"\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"
\\n\"+\n \"\n", " | lp__ | \n", "log_p__ | \n", "log_g__ | \n", "phi | \n", "gamma_ | \n", "sigma_0 | \n", "mu[1] | \n", "mu[2] | \n", "mu[3] | \n", "mu[4] | \n", "... | \n", "ell_ppc[191] | \n", "ell_ppc[192] | \n", "ell_ppc[193] | \n", "ell_ppc[194] | \n", "ell_ppc[195] | \n", "ell_ppc[196] | \n", "ell_ppc[197] | \n", "ell_ppc[198] | \n", "ell_ppc[199] | \n", "ell_ppc[200] | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "0.0 | \n", "-1833.69 | \n", "-1.499310 | \n", "37.4004 | \n", "0.890305 | \n", "0.112656 | \n", "22.2885 | \n", "22.9894 | \n", "23.7256 | \n", "24.6603 | \n", "... | \n", "38.9634 | \n", "34.9517 | \n", "33.7124 | \n", "38.6103 | \n", "42.0959 | \n", "37.1982 | \n", "44.5397 | \n", "44.5302 | \n", "40.5810 | \n", "37.9226 | \n", "
1 | \n", "0.0 | \n", "-1838.96 | \n", "-0.313062 | \n", "37.2800 | \n", "0.866539 | \n", "0.112550 | \n", "21.8002 | \n", "22.4966 | \n", "23.2294 | \n", "24.1624 | \n", "... | \n", "34.6073 | \n", "35.7513 | \n", "30.6759 | \n", "38.5644 | \n", "40.7878 | \n", "38.9494 | \n", "34.2358 | \n", "40.0993 | \n", "34.2573 | \n", "44.3059 | \n", "
2 | \n", "0.0 | \n", "-1833.97 | \n", "-0.563498 | \n", "37.3965 | \n", "0.883906 | \n", "0.114579 | \n", "22.1614 | \n", "22.8616 | \n", "23.5975 | \n", "24.5327 | \n", "... | \n", "39.0093 | \n", "42.3316 | \n", "34.3370 | \n", "43.7898 | \n", "44.6077 | \n", "37.3891 | \n", "36.7614 | \n", "33.7377 | \n", "44.4946 | \n", "43.3266 | \n", "
3 | \n", "0.0 | \n", "-1853.56 | \n", "-4.220800 | \n", "37.1215 | \n", "0.839312 | \n", "0.117270 | \n", "21.2285 | \n", "21.9183 | \n", "22.6460 | \n", "23.5749 | \n", "... | \n", "38.0863 | \n", "38.5711 | \n", "36.8697 | \n", "36.2959 | \n", "39.7949 | \n", "33.8898 | \n", "38.4848 | \n", "40.9590 | \n", "44.5866 | \n", "36.2442 | \n", "
4 | \n", "0.0 | \n", "-1832.93 | \n", "-1.922950 | \n", "37.7253 | \n", "0.876273 | \n", "0.116066 | \n", "22.0482 | \n", "22.7528 | \n", "23.4944 | \n", "24.4385 | \n", "... | \n", "42.3030 | \n", "32.0449 | \n", "33.8408 | \n", "29.3432 | \n", "37.8117 | \n", "48.4723 | \n", "37.3007 | \n", "28.4747 | \n", "37.3459 | \n", "36.6706 | \n", "
5 rows × 1546 columns
\n", "\n", " | lp__ | \n", "log_p__ | \n", "log_g__ | \n", "phi | \n", "gamma_ | \n", "sigma_0 | \n", "mu[1] | \n", "mu[2] | \n", "mu[3] | \n", "mu[4] | \n", "... | \n", "ell_ppc[191] | \n", "ell_ppc[192] | \n", "ell_ppc[193] | \n", "ell_ppc[194] | \n", "ell_ppc[195] | \n", "ell_ppc[196] | \n", "ell_ppc[197] | \n", "ell_ppc[198] | \n", "ell_ppc[199] | \n", "ell_ppc[200] | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "37.3255 | \n", "0.872579 | \n", "0.114267 | \n", "21.9268 | \n", "22.6247 | \n", "23.3587 | \n", "24.2927 | \n", "... | \n", "36.9062 | \n", "29.4505 | \n", "35.2221 | \n", "35.2612 | \n", "34.0087 | \n", "37.0151 | \n", "36.9185 | \n", "44.0853 | \n", "39.615 | \n", "49.3834 | \n", "
1 rows × 1546 columns
\n", "