|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "attachments": {}, |
| 5 | + "cell_type": "markdown", |
| 6 | + "id": "domestic-remove", |
| 7 | + "metadata": {}, |
| 8 | + "source": [ |
| 9 | + "(template_notebook)=\n", |
| 10 | + "# This is a template notebook\n", |
| 11 | + "\n", |
| 12 | + ":::{post} January, 2023\n", |
| 13 | + ":tags: binomial regression, generalized linear model, \n", |
| 14 | + ":category: beginner, reference\n", |
| 15 | + ":author: Jane Doe\n", |
| 16 | + ":::" |
| 17 | + ] |
| 18 | + }, |
| 19 | + { |
| 20 | + "attachments": {}, |
| 21 | + "cell_type": "markdown", |
| 22 | + "id": "72588976-efc3-4adc-bec2-bc5b6ac4b7e1", |
| 23 | + "metadata": {}, |
| 24 | + "source": [ |
| 25 | + "This is some introductory text. Consult the [style guide](https://docs.pymc.io/en/latest/contributing/jupyter_style.html)." |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + "cell_type": "code", |
| 30 | + "execution_count": 1, |
| 31 | + "id": "elect-softball", |
| 32 | + "metadata": { |
| 33 | + "tags": [] |
| 34 | + }, |
| 35 | + "outputs": [], |
| 36 | + "source": [ |
| 37 | + "import arviz as az\n", |
| 38 | + "import matplotlib.pyplot as plt\n", |
| 39 | + "import numpy as np\n", |
| 40 | + "import pandas as pd\n", |
| 41 | + "import pymc as pm" |
| 42 | + ] |
| 43 | + }, |
| 44 | + { |
| 45 | + "cell_type": "code", |
| 46 | + "execution_count": 2, |
| 47 | + "id": "level-balance", |
| 48 | + "metadata": { |
| 49 | + "tags": [] |
| 50 | + }, |
| 51 | + "outputs": [], |
| 52 | + "source": [ |
| 53 | + "%config InlineBackend.figure_format = 'retina' # high resolution figures\n", |
| 54 | + "az.style.use(\"arviz-darkgrid\")\n", |
| 55 | + "rng = np.random.default_rng(42)" |
| 56 | + ] |
| 57 | + }, |
| 58 | + { |
| 59 | + "attachments": {}, |
| 60 | + "cell_type": "markdown", |
| 61 | + "id": "sapphire-yellow", |
| 62 | + "metadata": {}, |
| 63 | + "source": [ |
| 64 | + "## My lovely content here" |
| 65 | + ] |
| 66 | + }, |
| 67 | + { |
| 68 | + "cell_type": "code", |
| 69 | + "execution_count": 3, |
| 70 | + "id": "21e66b38", |
| 71 | + "metadata": {}, |
| 72 | + "outputs": [ |
| 73 | + { |
| 74 | + "name": "stdout", |
| 75 | + "output_type": "stream", |
| 76 | + "text": [ |
| 77 | + "Your code here\n" |
| 78 | + ] |
| 79 | + } |
| 80 | + ], |
| 81 | + "source": [ |
| 82 | + "print(\"Your code here\")" |
| 83 | + ] |
| 84 | + }, |
| 85 | + { |
| 86 | + "attachments": {}, |
| 87 | + "cell_type": "markdown", |
| 88 | + "id": "b743d58b-2678-4e17-9947-a8fe4ed03e21", |
| 89 | + "metadata": {}, |
| 90 | + "source": [ |
| 91 | + "## Authors\n", |
| 92 | + "- Authored by [Benjamin T. Vincent](https://github.com/drbenvincent) in January 2023 " |
| 93 | + ] |
| 94 | + }, |
| 95 | + { |
| 96 | + "cell_type": "markdown", |
| 97 | + "id": "closed-frank", |
| 98 | + "metadata": {}, |
| 99 | + "source": [ |
| 100 | + "## References\n", |
| 101 | + ":::{bibliography}\n", |
| 102 | + ":filter: docname in docnames\n", |
| 103 | + ":::" |
| 104 | + ] |
| 105 | + }, |
| 106 | + { |
| 107 | + "cell_type": "markdown", |
| 108 | + "id": "0717070c-04aa-4836-ab95-6b3eff0dcaaf", |
| 109 | + "metadata": {}, |
| 110 | + "source": [ |
| 111 | + "## Watermark" |
| 112 | + ] |
| 113 | + }, |
| 114 | + { |
| 115 | + "cell_type": "code", |
| 116 | + "execution_count": 4, |
| 117 | + "id": "sound-calculation", |
| 118 | + "metadata": { |
| 119 | + "tags": [] |
| 120 | + }, |
| 121 | + "outputs": [ |
| 122 | + { |
| 123 | + "name": "stdout", |
| 124 | + "output_type": "stream", |
| 125 | + "text": [ |
| 126 | + "Last updated: Wed Dec 28 2022\n", |
| 127 | + "\n", |
| 128 | + "Python implementation: CPython\n", |
| 129 | + "Python version : 3.11.0\n", |
| 130 | + "IPython version : 8.7.0\n", |
| 131 | + "\n", |
| 132 | + "pytensor: 2.8.11\n", |
| 133 | + "\n", |
| 134 | + "pymc : 5.0.1\n", |
| 135 | + "numpy : 1.24.0\n", |
| 136 | + "arviz : 0.14.0\n", |
| 137 | + "pandas : 1.5.2\n", |
| 138 | + "sys : 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:21:25) [Clang 14.0.4 ]\n", |
| 139 | + "matplotlib: 3.6.2\n", |
| 140 | + "\n", |
| 141 | + "Watermark: 2.3.1\n", |
| 142 | + "\n" |
| 143 | + ] |
| 144 | + } |
| 145 | + ], |
| 146 | + "source": [ |
| 147 | + "%load_ext watermark\n", |
| 148 | + "%watermark -n -u -v -iv -w -p pytensor" |
| 149 | + ] |
| 150 | + }, |
| 151 | + { |
| 152 | + "cell_type": "markdown", |
| 153 | + "id": "1e4386fc-4de9-4535-a160-d929315633ef", |
| 154 | + "metadata": {}, |
| 155 | + "source": [ |
| 156 | + ":::{include} ../page_footer.md\n", |
| 157 | + ":::" |
| 158 | + ] |
| 159 | + } |
| 160 | + ], |
| 161 | + "metadata": { |
| 162 | + "kernelspec": { |
| 163 | + "display_name": "pymc_env", |
| 164 | + "language": "python", |
| 165 | + "name": "python3" |
| 166 | + }, |
| 167 | + "language_info": { |
| 168 | + "codemirror_mode": { |
| 169 | + "name": "ipython", |
| 170 | + "version": 3 |
| 171 | + }, |
| 172 | + "file_extension": ".py", |
| 173 | + "mimetype": "text/x-python", |
| 174 | + "name": "python", |
| 175 | + "nbconvert_exporter": "python", |
| 176 | + "pygments_lexer": "ipython3", |
| 177 | + "version": "3.11.0" |
| 178 | + }, |
| 179 | + "vscode": { |
| 180 | + "interpreter": { |
| 181 | + "hash": "d5f0cba85daacbebbd957da1105312a62c58952ca942f7218a10e4aa5f415a19" |
| 182 | + } |
| 183 | + } |
| 184 | + }, |
| 185 | + "nbformat": 4, |
| 186 | + "nbformat_minor": 5 |
| 187 | +} |
0 commit comments