diff --git a/CHANGELOG.md b/CHANGELOG.md index ddfa4e5dae..ccde055e09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,21 @@ # Change Log -## v0.x.x Unreleased +## v0.20.0 (2024 Sep 28) ### New features - Add optimized simultaneous ECDF confidence bands ([2368](https://github.com/arviz-devs/arviz/pull/2368)) - Add support for setting groups with `idata[group]` ([2374](https://github.com/arviz-devs/arviz/pull/2374)) ### Maintenance and fixes - -### Deprecation +- Make `dm-tree` and optional dependency ([2379](https://github.com/arviz-devs/arviz/pull/2379)) +- Fix bug in `psislw` modifying input inplace ([2377](https://github.com/arviz-devs/arviz/pull/2377)) +- Fix behaviour of two dimensional KDE plot with recent matplotlib releases ([2383](https://github.com/arviz-devs/arviz/pull/2383)) +- Make defaults in `plot_compare` more intuitive ([2388](https://github.com/arviz-devs/arviz/pull/2388)) ### Documentation - Added extensions of virtual environments in [.gitignore](https://github.com/arviz-devs/arviz/blob/main/.gitignore) ([2371](https://github.com/arviz-devs/arviz/issues/2371)) - Fixed the issue in the [Contribution References Documentation](https://python.arviz.org/en/latest/contributing/index.html) ([2369](https://github.com/arviz-devs/arviz/issues/2369)) +- Improve docstrings for `loo` and `waic` ([2366](https://github.com/arviz-devs/arviz/pull/2366)) ## v0.19.0 (2024 Jul 19) diff --git a/arviz/__init__.py b/arviz/__init__.py index 3961a80393..67cd00082b 100644 --- a/arviz/__init__.py +++ b/arviz/__init__.py @@ -1,6 +1,6 @@ # pylint: disable=wildcard-import,invalid-name,wrong-import-position """ArviZ is a library for exploratory analysis of Bayesian models.""" -__version__ = "0.20.0.dev0" +__version__ = "0.20.0" import logging import os diff --git a/doc/source/getting_started/WorkingWithInferenceData.ipynb b/doc/source/getting_started/WorkingWithInferenceData.ipynb index d9677d5c75..115d55ab3e 100644 --- a/doc/source/getting_started/WorkingWithInferenceData.ipynb +++ b/doc/source/getting_started/WorkingWithInferenceData.ipynb @@ -13,7 +13,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -35,7 +35,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -49,8 +49,8 @@ "
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -3460,7 +3508,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -3509,7 +3558,7 @@ "\t> constant_data" ] }, - "execution_count": 4, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -3528,7 +3577,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -3565,6 +3614,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -3615,7 +3665,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -3623,7 +3673,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -3635,6 +3686,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -3897,39 +3952,39 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 165kB\n",
            "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
            "Coordinates:\n",
    -       "  * chain    (chain) int64 0 1 2 3\n",
    -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
    +       "  * chain    (chain) int64 32B 0 1 2 3\n",
    +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
    +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
            "Data variables:\n",
    -       "    mu       (chain, draw) float64 ...\n",
    -       "    theta    (chain, draw, school) float64 ...\n",
    -       "    tau      (chain, draw) float64 ...\n",
    -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000
  • " ], "text/plain": [ - "\n", + " Size: 165kB\n", "Dimensions: (chain: 4, draw: 500, school: 8)\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n", - " * school (school)
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 181kB\n",
            "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
            "Coordinates:\n",
    -       "  * chain    (chain) int64 0 1 2 3\n",
    -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
    +       "  * chain    (chain) int64 32B 0 1 2 3\n",
    +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
    +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
            "Data variables:\n",
    -       "    mu       (chain, draw) float64 ...\n",
    -       "    theta    (chain, draw, school) float64 ...\n",
    -       "    tau      (chain, draw) float64 4.726 3.909 4.844 1.857 ... 2.741 2.932 4.461\n",
    -       "    log_tau  (chain, draw) float64 1.553 1.363 1.578 ... 1.008 1.076 1.495\n",
    -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000
  • " ], "text/plain": [ - "\n", + " Size: 181kB\n", "Dimensions: (chain: 4, draw: 500, school: 8)\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n", - " * school (school)
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 225kB\n",
            "Dimensions:  (sample: 2000, school: 8)\n",
            "Coordinates:\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
    -       "  * sample   (sample) object MultiIndex\n",
    -       "  * chain    (sample) int64 0 0 0 0 0 0 0 0 0 0 0 0 ... 3 3 3 3 3 3 3 3 3 3 3 3\n",
    -       "  * draw     (sample) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
    +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
    +       "  * sample   (sample) object 16kB MultiIndex\n",
    +       "  * chain    (sample) int64 16kB 0 0 0 0 0 0 0 0 0 0 0 ... 3 3 3 3 3 3 3 3 3 3 3\n",
    +       "  * draw     (sample) int64 16kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
            "Data variables:\n",
    -       "    mu       (sample) float64 7.872 3.385 9.1 7.304 ... 1.859 1.767 3.486 3.404\n",
    -       "    theta    (school, sample) float64 12.32 11.29 5.709 ... -2.623 8.452 1.295\n",
    -       "    tau      (sample) float64 4.726 3.909 4.844 1.857 ... 2.741 2.932 4.461\n",
    -       "    log_tau  (sample) float64 1.553 1.363 1.578 0.6188 ... 1.008 1.076 1.495\n",
    -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000
  • " ], "text/plain": [ - "\n", + " Size: 225kB\n", "Dimensions: (sample: 2000, school: 8)\n", "Coordinates:\n", - " * school (school)
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 12kB\n",
            "Dimensions:  (sample: 100, school: 8)\n",
            "Coordinates:\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
    -       "  * sample   (sample) object MultiIndex\n",
    -       "  * chain    (sample) int64 3 1 1 3 2 3 3 3 3 1 0 0 ... 2 0 2 2 3 2 2 3 2 0 3 2\n",
    -       "  * draw     (sample) int64 214 202 176 487 371 27 ... 207 411 170 102 70 385\n",
    +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
    +       "  * sample   (sample) object 800B MultiIndex\n",
    +       "  * chain    (sample) int64 800B 1 2 0 1 2 1 3 3 2 2 1 ... 1 2 1 0 0 1 0 2 1 0 0\n",
    +       "  * draw     (sample) int64 800B 203 316 58 22 372 214 ... 460 136 37 476 368\n",
            "Data variables:\n",
    -       "    mu       (sample) float64 10.14 0.2007 12.31 0.4654 ... -5.88 12.93 4.57\n",
    -       "    theta    (school, sample) float64 10.01 24.78 14.16 ... -4.128 14.04 3.417\n",
    -       "    tau      (sample) float64 3.008 19.69 1.974 3.611 ... 2.457 1.675 2.081\n",
    -       "    log_tau  (sample) float64 1.101 2.98 0.6802 1.284 ... 0.8991 0.5161 0.733\n",
    -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000
  • " ], "text/plain": [ - "\n", + " Size: 12kB\n", "Dimensions: (sample: 100, school: 8)\n", "Coordinates:\n", - " * school (school)
    <xarray.DataArray 'school' (school: 8)>\n",
    +       "
    <xarray.DataArray 'school' (school: 8)> Size: 512B\n",
            "'Choate' 'Deerfield' 'Phillips Andover' ... "St. Paul's" 'Mt. Hermon'\n",
            "Coordinates:\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'
  • " ], "text/plain": [ - "\n", + " Size: 512B\n", "'Choate' 'Deerfield' 'Phillips Andover' ... \"St. Paul's\" 'Mt. Hermon'\n", "Coordinates:\n", - " * school (school) \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -6029,6 +6108,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -6079,7 +6159,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -6087,7 +6167,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -6099,6 +6180,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -6361,20 +6446,20 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 93kB\n",
              "Dimensions:  (chain: 2, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 2\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 16B 0 2\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    mu       (chain, draw) float64 7.872 3.385 9.1 7.304 ... 2.871 4.096 1.776\n",
      -       "    theta    (chain, draw, school) float64 12.32 9.905 14.95 ... 2.363 -2.968\n",
      -       "    tau      (chain, draw) float64 4.726 3.909 4.844 1.857 ... 4.09 2.72 1.917\n",
      -       "    log_tau  (chain, draw) float64 1.553 1.363 1.578 ... 1.408 1.001 0.6508\n",
      -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -6472,6 +6557,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -6522,7 +6608,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -6530,7 +6616,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -6542,6 +6629,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -6804,28 +6895,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 69kB\n",
              "Dimensions:  (chain: 2, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 2\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 16B 0 2\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -6860,6 +6951,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -6910,7 +7002,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -6918,7 +7010,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -6930,6 +7023,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -7192,28 +7289,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 69kB\n",
              "Dimensions:  (chain: 2, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 2\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 16B 0 2\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -7248,6 +7345,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -7298,7 +7396,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -7306,7 +7404,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -7318,6 +7417,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -7580,36 +7683,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 125kB\n",
              "Dimensions:              (chain: 2, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 2\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 16B 0 2\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 8kB ...\n",
      +       "    energy_error         (chain, draw) float64 8kB ...\n",
      +       "    lp                   (chain, draw) float64 8kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 8kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 8kB ...\n",
      +       "    diverging            (chain, draw) bool 1kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -7644,6 +7747,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -7694,7 +7798,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -7702,7 +7806,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -7714,6 +7819,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -7976,30 +8085,30 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (chain, draw) float64 ...\n",
      -       "    theta    (chain, draw, school) float64 ...\n",
      -       "    mu       (chain, draw) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -8034,6 +8143,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -8084,7 +8194,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -8092,7 +8202,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -8104,6 +8215,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -8366,28 +8481,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -8422,6 +8537,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -8472,7 +8588,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -8480,7 +8596,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -8492,6 +8609,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -8754,23 +8875,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -8805,6 +8926,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -8855,7 +8977,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -8863,7 +8985,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -8875,6 +8998,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -9137,16 +9264,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -9457,7 +9584,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -9506,7 +9634,7 @@ "\t> constant_data" ] }, - "execution_count": 12, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -9526,7 +9654,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -9540,8 +9668,8 @@ "
      \n", " \n", "
    • \n", - " \n", - " \n", + " \n", + " \n", "
      \n", "
      \n", "
        \n", @@ -9576,6 +9704,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -9626,7 +9755,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -9634,7 +9763,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -9646,6 +9776,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -9908,22 +10042,22 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
        <xarray.Dataset>\n",
        +       "
        <xarray.Dataset> Size: 145kB\n",
                "Dimensions:  (chain: 4, draw: 400, school: 8)\n",
                "Coordinates:\n",
        -       "  * chain    (chain) int64 0 1 2 3\n",
        -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
        -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
        +       "  * chain    (chain) int64 32B 0 1 2 3\n",
        +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
        +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
                "Data variables:\n",
        -       "    mu       (chain, draw) float64 11.7 8.118 -5.88 -7.149 ... 1.767 3.486 3.404\n",
        -       "    theta    (chain, draw, school) float64 14.23 9.72 9.195 ... 6.762 1.295\n",
        -       "    tau      (chain, draw) float64 4.289 2.765 2.457 1.719 ... 2.741 2.932 4.461\n",
        -       "    log_tau  (chain, draw) float64 1.456 1.017 0.8991 ... 1.008 1.076 1.495\n",
        -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -10002,6 +10136,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -10052,7 +10187,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -10060,7 +10195,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -10072,6 +10208,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -10334,28 +10474,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 106kB\n",
              "Dimensions:  (chain: 4, draw: 400, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -10390,6 +10530,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -10440,7 +10581,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -10448,7 +10589,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -10460,6 +10602,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -10722,28 +10868,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 106kB\n",
              "Dimensions:  (chain: 4, draw: 400, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -10778,6 +10924,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -10828,7 +10975,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -10836,7 +10983,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -10848,6 +10996,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -11110,36 +11262,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 197kB\n",
              "Dimensions:              (chain: 4, draw: 400)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 100 101 102 103 104 ... 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 3kB 100 101 102 103 ... 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 13kB ...\n",
      +       "    energy_error         (chain, draw) float64 13kB ...\n",
      +       "    lp                   (chain, draw) float64 13kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 13kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 13kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -11174,6 +11326,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -11224,7 +11377,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -11232,7 +11385,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -11244,6 +11398,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -11506,30 +11664,30 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 36kB\n",
              "Dimensions:  (chain: 1, draw: 400, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (chain, draw) float64 ...\n",
      -       "    theta    (chain, draw, school) float64 ...\n",
      -       "    mu       (chain, draw) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -11564,6 +11722,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -11614,7 +11773,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -11622,7 +11781,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -11634,6 +11794,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -11896,28 +12060,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 29kB\n",
              "Dimensions:  (chain: 1, draw: 400, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -11952,6 +12116,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -12002,7 +12167,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -12010,7 +12175,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -12022,6 +12188,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -12284,23 +12454,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -12335,6 +12505,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -12385,7 +12556,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -12393,7 +12564,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -12405,6 +12577,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -12667,16 +12843,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -12987,7 +13163,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -13036,7 +13213,7 @@ "\t> constant_data" ] }, - "execution_count": 13, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -13054,7 +13231,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -13068,8 +13245,8 @@ "
      \n", " \n", "
    • \n", - " \n", - " \n", + " \n", + " \n", "
      \n", "
      \n", "
        \n", @@ -13104,6 +13281,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -13154,7 +13332,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -13162,7 +13340,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -13174,6 +13353,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -13436,22 +13619,22 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
        <xarray.Dataset>\n",
        +       "
        <xarray.Dataset> Size: 145kB\n",
                "Dimensions:  (chain: 4, draw: 400, school: 8)\n",
                "Coordinates:\n",
        -       "  * chain    (chain) int64 0 1 2 3\n",
        -       "  * draw     (draw) int64 100 101 102 103 104 105 ... 494 495 496 497 498 499\n",
        -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
        +       "  * chain    (chain) int64 32B 0 1 2 3\n",
        +       "  * draw     (draw) int64 3kB 100 101 102 103 104 105 ... 495 496 497 498 499\n",
        +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
                "Data variables:\n",
        -       "    mu       (chain, draw) float64 11.7 8.118 -5.88 -7.149 ... 1.767 3.486 3.404\n",
        -       "    theta    (chain, draw, school) float64 14.23 9.72 9.195 ... 6.762 1.295\n",
        -       "    tau      (chain, draw) float64 4.289 2.765 2.457 1.719 ... 2.741 2.932 4.461\n",
        -       "    log_tau  (chain, draw) float64 1.456 1.017 0.8991 ... 1.008 1.076 1.495\n",
        -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -13530,6 +13713,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -13580,7 +13764,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -13588,7 +13772,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -13600,6 +13785,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -13862,28 +14051,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -13918,6 +14107,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -13968,7 +14158,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -13976,7 +14166,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -13988,6 +14179,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -14250,28 +14445,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -14306,6 +14501,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -14356,7 +14552,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -14364,7 +14560,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -14376,6 +14573,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -14638,36 +14839,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 246kB\n",
              "Dimensions:              (chain: 4, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 16kB ...\n",
      +       "    energy_error         (chain, draw) float64 16kB ...\n",
      +       "    lp                   (chain, draw) float64 16kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 16kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 16kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -14702,6 +14903,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -14752,7 +14954,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -14760,7 +14962,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -14772,6 +14975,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -15034,30 +15241,30 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (chain, draw) float64 ...\n",
      -       "    theta    (chain, draw, school) float64 ...\n",
      -       "    mu       (chain, draw) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -15092,6 +15299,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -15142,7 +15350,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -15150,7 +15358,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -15162,6 +15371,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -15424,28 +15637,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -15480,6 +15693,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -15530,7 +15744,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -15538,7 +15752,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -15550,6 +15765,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -15812,23 +16031,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -15863,6 +16082,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -15913,7 +16133,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -15921,7 +16141,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -15933,6 +16154,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -16195,16 +16420,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -16515,7 +16740,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -16564,7 +16790,7 @@ "\t> constant_data" ] }, - "execution_count": 14, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -16584,7 +16810,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -16621,6 +16847,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -16671,7 +16898,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -16679,7 +16906,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -16691,6 +16919,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -16953,25 +17185,25 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 32B\n",
            "Dimensions:  ()\n",
            "Data variables:\n",
    -       "    mu       float64 4.486\n",
    -       "    theta    float64 4.912\n",
    -       "    tau      float64 4.124\n",
    -       "    log_tau  float64 1.173
    " + " mu float64 8B 4.486\n", + " theta float64 8B 4.912\n", + " tau float64 8B 4.124\n", + " log_tau float64 8B 1.173
    " ], "text/plain": [ - "\n", + " Size: 32B\n", "Dimensions: ()\n", "Data variables:\n", - " mu float64 4.486\n", - " theta float64 4.912\n", - " tau float64 4.124\n", - " log_tau float64 1.173" + " mu float64 8B 4.486\n", + " theta float64 8B 4.912\n", + " tau float64 8B 4.124\n", + " log_tau float64 8B 1.173" ] }, - "execution_count": 15, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -16991,7 +17223,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 14, "metadata": {}, "outputs": [ { @@ -17028,6 +17260,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -17078,7 +17311,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -17086,7 +17319,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -17098,6 +17332,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -17360,33 +17598,33 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 600B\n",
            "Dimensions:  (school: 8)\n",
            "Coordinates:\n",
    -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
    +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
            "Data variables:\n",
    -       "    mu       float64 4.486\n",
    -       "    theta    (school) float64 6.46 5.028 3.938 4.872 3.667 3.975 6.581 4.772\n",
    -       "    tau      float64 4.124\n",
    -       "    log_tau  float64 1.173
  • " ], "text/plain": [ - "\n", + " Size: 600B\n", "Dimensions: (school: 8)\n", "Coordinates:\n", - " * school (school)
    <xarray.Dataset>\n",
    +       "
    <xarray.Dataset> Size: 1MB\n",
            "Dimensions:            (chain: 4, draw: 500, school: 8, school_bis: 8)\n",
            "Coordinates:\n",
    -       "  * chain              (chain) int64 0 1 2 3\n",
    -       "  * draw               (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
    -       "  * school             (school) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
    -       "  * school_bis         (school_bis) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
    +       "  * chain              (chain) int64 32B 0 1 2 3\n",
    +       "  * draw               (draw) int64 4kB 0 1 2 3 4 5 ... 494 495 496 497 498 499\n",
    +       "  * school             (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
    +       "  * school_bis         (school_bis) <U16 512B 'Choate' ... 'Mt. Hermon'\n",
            "Data variables:\n",
    -       "    mu                 (chain, draw) float64 7.872 3.385 9.1 ... 3.486 3.404\n",
    -       "    theta              (chain, draw, school) float64 12.32 9.905 ... 6.762 1.295\n",
    -       "    tau                (chain, draw) float64 4.726 3.909 4.844 ... 2.932 4.461\n",
    -       "    log_tau            (chain, draw) float64 1.553 1.363 1.578 ... 1.076 1.495\n",
    -       "    mlogtau            (chain, draw) float64 nan nan nan ... 1.494 1.496 1.511\n",
    -       "    theta_school_diff  (chain, draw, school, school_bis) float64 0.0 ... 0.0\n",
    -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000
  • " ], "text/plain": [ - "\n", + " Size: 1MB\n", "Dimensions: (chain: 4, draw: 500, school: 8, school_bis: 8)\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n", - " * school (school)
    <xarray.DataArray 'theta_school_diff' (chain: 4, draw: 500)>\n",
    +       "
    <xarray.DataArray 'theta_school_diff' (chain: 4, draw: 500)> Size: 16kB\n",
            "2.415 2.156 -0.04943 1.228 3.384 9.662 ... -1.656 -0.4021 1.524 -3.372 -6.305\n",
            "Coordinates:\n",
    -       "  * chain       (chain) int64 0 1 2 3\n",
    -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
    -       "    school      <U16 'Choate'\n",
    -       "    school_bis  <U16 'Deerfield'
  • " ], "text/plain": [ - "\n", + " Size: 16kB\n", "2.415 2.156 -0.04943 1.228 3.384 9.662 ... -1.656 -0.4021 1.524 -3.372 -6.305\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n", - " school
    <xarray.DataArray 'theta_school_diff' (chain: 4, draw: 500,\n",
    -       "                                       pairwise_school_diff: 3)>\n",
    +       "                                       pairwise_school_diff: 3)> Size: 48kB\n",
            "2.415 -6.741 -1.84 2.156 -3.474 3.784 ... -2.619 6.923 -6.305 1.667 -6.641\n",
            "Coordinates:\n",
    -       "  * chain       (chain) int64 0 1 2 3\n",
    -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
    -       "    school      (pairwise_school_diff) <U16 'Choate' 'Hotchkiss' 'Mt. Hermon'\n",
    -       "    school_bis  (pairwise_school_diff) <U16 'Deerfield' 'Choate' 'Lawrenceville'\n",
    -       "Dimensions without coordinates: pairwise_school_diff
  • " ], "text/plain": [ "\n", + " pairwise_school_diff: 3)> Size: 48kB\n", "2.415 -6.741 -1.84 2.156 -3.474 3.784 ... -2.619 6.923 -6.305 1.667 -6.641\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n", - " school (pairwise_school_diff)
    <xarray.DataArray 'theta_school_diff' (chain: 4, draw: 500, school: 3,\n",
    -       "                                       school_bis: 3)>\n",
    +       "                                       school_bis: 3)> Size: 144kB\n",
            "2.415 0.0 -4.581 -4.326 -6.741 -11.32 ... 1.667 -6.077 -5.203 1.102 -6.641\n",
            "Coordinates:\n",
    -       "  * chain       (chain) int64 0 1 2 3\n",
    -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
    -       "  * school      (school) <U16 'Choate' 'Hotchkiss' 'Mt. Hermon'\n",
    -       "  * school_bis  (school_bis) <U16 'Deerfield' 'Choate' 'Lawrenceville'
  • " ], "text/plain": [ "\n", + " school_bis: 3)> Size: 144kB\n", "2.415 0.0 -4.581 -4.326 -6.741 -11.32 ... 1.667 -6.077 -5.203 1.102 -6.641\n", "Coordinates:\n", - " * chain (chain) int64 0 1 2 3\n", - " * draw (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n", - " * school (school) \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -19408,6 +19670,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -19458,7 +19721,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -19466,7 +19729,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -19478,6 +19742,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -19740,26 +20008,26 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 1MB\n",
              "Dimensions:            (chain: 4, draw: 500, school: 8, school_bis: 8)\n",
              "Coordinates:\n",
      -       "  * chain              (chain) int64 0 1 2 3\n",
      -       "  * draw               (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      -       "  * school             (school) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      -       "  * school_bis         (school_bis) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      +       "  * chain              (chain) int64 32B 0 1 2 3\n",
      +       "  * draw               (draw) int64 4kB 0 1 2 3 4 5 ... 494 495 496 497 498 499\n",
      +       "  * school             (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      +       "  * school_bis         (school_bis) <U16 512B 'Choate' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    mu                 (chain, draw) float64 7.872 3.385 9.1 ... 3.486 3.404\n",
      -       "    theta              (chain, draw, school) float64 12.32 9.905 ... 6.762 1.295\n",
      -       "    tau                (chain, draw) float64 4.726 3.909 4.844 ... 2.932 4.461\n",
      -       "    log_tau            (chain, draw) float64 1.553 1.363 1.578 ... 1.076 1.495\n",
      -       "    mlogtau            (chain, draw) float64 nan nan nan ... 1.494 1.496 1.511\n",
      -       "    theta_school_diff  (chain, draw, school, school_bis) float64 0.0 ... 0.0\n",
      -       "Attributes: (6)
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -19887,6 +20155,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -19937,7 +20206,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -19945,7 +20214,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -19957,6 +20227,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -20219,28 +20493,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -20275,6 +20549,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -20325,7 +20600,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -20333,7 +20608,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -20345,6 +20621,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -20607,15 +20887,15 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 36kB\n",
              "Dimensions:     (chain: 4, draw: 500, new_school: 2)\n",
              "Coordinates:\n",
      -       "  * chain       (chain) int64 0 1 2 3\n",
      -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
      -       "  * new_school  (new_school) <U13 'Essex College' 'Moordale'\n",
      +       "  * chain       (chain) int64 32B 0 1 2 3\n",
      +       "  * draw        (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * new_school  (new_school) <U13 104B 'Essex College' 'Moordale'\n",
              "Data variables:\n",
      -       "    obs         (chain, draw, new_school) float64 2.041 -2.556 ... -0.2822\n",
      -       "Attributes: (2)
  • new_school
    PandasIndex
    PandasIndex(Index(['Essex College', 'Moordale'], dtype='object', name='new_school'))
  • created_at :
    2024-09-28T19:22:37.147191+00:00
    arviz_version :
    0.20.0

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -20690,6 +20970,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -20740,7 +21021,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -20748,7 +21029,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -20760,6 +21042,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -21022,28 +21308,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -21078,6 +21364,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -21128,7 +21415,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -21136,7 +21423,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -21148,6 +21436,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -21410,36 +21702,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 246kB\n",
              "Dimensions:              (chain: 4, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 16kB ...\n",
      +       "    energy_error         (chain, draw) float64 16kB ...\n",
      +       "    lp                   (chain, draw) float64 16kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 16kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 16kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -21474,6 +21766,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -21524,7 +21817,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -21532,7 +21825,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -21544,6 +21838,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -21806,30 +22104,30 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (chain, draw) float64 ...\n",
      -       "    theta    (chain, draw, school) float64 ...\n",
      -       "    mu       (chain, draw) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -21864,6 +22162,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -21914,7 +22213,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -21922,7 +22221,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -21934,6 +22234,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -22196,28 +22500,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -22252,6 +22556,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -22302,7 +22607,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -22310,7 +22615,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -22322,6 +22628,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -22584,23 +22894,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -22635,6 +22945,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -22685,7 +22996,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -22693,7 +23004,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -22705,6 +23017,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -22967,16 +23283,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -23287,7 +23603,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -23337,7 +23654,7 @@ "\t> constant_data" ] }, - "execution_count": 25, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -23368,7 +23685,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 24, "metadata": {}, "outputs": [ { @@ -23382,8 +23699,8 @@ "
      \n", " \n", "
    • \n", - " \n", - " \n", + " \n", + " \n", "
      \n", "
      \n", "
        \n", @@ -23418,6 +23735,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -23468,7 +23786,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -23476,7 +23794,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -23488,6 +23807,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -23750,21 +24073,21 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
        <xarray.Dataset>\n",
        +       "
        <xarray.Dataset> Size: 309kB\n",
                "Dimensions:            (draw: 500, school: 8, school_bis: 8)\n",
                "Coordinates:\n",
        -       "  * draw               (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
        -       "  * school             (school) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        -       "  * school_bis         (school_bis) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * draw               (draw) int64 4kB 0 1 2 3 4 5 ... 494 495 496 497 498 499\n",
        +       "  * school             (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * school_bis         (school_bis) <U16 512B 'Choate' ... 'Mt. Hermon'\n",
                "Data variables:\n",
        -       "    mu                 (draw) float64 5.974 5.096 7.177 ... 3.284 4.739 3.146\n",
        -       "    theta              (draw, school) float64 9.519 5.554 6.118 ... 5.595 3.773\n",
        -       "    tau                (draw) float64 4.068 3.156 3.603 ... 2.725 3.225 2.979\n",
        -       "    log_tau            (draw) float64 1.322 1.118 1.234 ... 0.958 1.035 0.9508\n",
        -       "    mlogtau            (draw) float64 nan nan nan nan ... 0.993 1.002 1.01 1.021\n",
        -       "    theta_school_diff  (draw, school, school_bis) float64 0.0 3.965 ... 0.0

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -24025,6 +24348,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -24075,7 +24399,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -24083,7 +24407,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -24095,6 +24420,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -24357,28 +24686,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -24413,6 +24742,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -24463,7 +24793,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -24471,7 +24801,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -24483,6 +24814,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -24745,15 +25080,15 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 36kB\n",
              "Dimensions:     (chain: 4, draw: 500, new_school: 2)\n",
              "Coordinates:\n",
      -       "  * chain       (chain) int64 0 1 2 3\n",
      -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
      -       "  * new_school  (new_school) <U13 'Essex College' 'Moordale'\n",
      +       "  * chain       (chain) int64 32B 0 1 2 3\n",
      +       "  * draw        (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * new_school  (new_school) <U13 104B 'Essex College' 'Moordale'\n",
              "Data variables:\n",
      -       "    obs         (chain, draw, new_school) float64 2.041 -2.556 ... -0.2822\n",
      -       "Attributes: (2)
  • new_school
    PandasIndex
    PandasIndex(Index(['Essex College', 'Moordale'], dtype='object', name='new_school'))
  • created_at :
    2024-09-28T19:22:37.147191+00:00
    arviz_version :
    0.20.0

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -24828,6 +25163,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -24878,7 +25214,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -24886,7 +25222,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -24898,6 +25235,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -25160,28 +25501,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -25216,6 +25557,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -25266,7 +25608,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -25274,7 +25616,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -25286,6 +25629,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -25548,36 +25895,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 246kB\n",
              "Dimensions:              (chain: 4, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 16kB ...\n",
      +       "    energy_error         (chain, draw) float64 16kB ...\n",
      +       "    lp                   (chain, draw) float64 16kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 16kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 16kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -25612,6 +25959,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -25662,7 +26010,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -25670,7 +26018,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -25682,6 +26031,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -25944,16 +26297,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
              "Dimensions:  (draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (draw) float64 1.941 3.388 4.208 5.687 ... 0.8353 0.06893 2.145\n",
      -       "    theta    (draw, school) float64 4.866 4.59 -0.7404 ... 3.33 -2.031 6.045\n",
      -       "    mu       (draw) float64 3.903 3.915 -1.751 2.595 ... -2.294 0.7908 2.869

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -26092,6 +26445,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -26142,7 +26496,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -26150,7 +26504,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -26162,6 +26517,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -26424,28 +26783,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -26480,6 +26839,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -26530,7 +26890,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -26538,7 +26898,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -26550,6 +26911,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -26812,23 +27177,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -26863,6 +27228,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -26913,7 +27279,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -26921,7 +27287,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -26933,6 +27300,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -27195,16 +27566,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -27515,7 +27886,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -27565,7 +27937,7 @@ "\t> constant_data" ] }, - "execution_count": 30, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } @@ -27590,7 +27962,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 25, "metadata": {}, "outputs": [ { @@ -27604,8 +27976,8 @@ "
      \n", " \n", "
    • \n", - " \n", - " \n", + " \n", + " \n", "
      \n", "
      \n", "
        \n", @@ -27640,6 +28012,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -27690,7 +28063,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -27698,7 +28071,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -27710,6 +28084,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -27972,247 +28350,145 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
        <xarray.Dataset>\n",
        -       "Dimensions:            (draw: 500, school: 8, school_bis: 8)\n",
        +       "
        <xarray.Dataset> Size: 1MB\n",
        +       "Dimensions:            (chain: 4, draw: 500, school: 8, school_bis: 8)\n",
                "Coordinates:\n",
        -       "  * draw               (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
        -       "  * school             (school) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        -       "  * school_bis         (school_bis) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * chain              (chain) int64 32B 0 1 2 3\n",
        +       "  * draw               (draw) int64 4kB 0 1 2 3 4 5 ... 494 495 496 497 498 499\n",
        +       "  * school             (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * school_bis         (school_bis) <U16 512B 'Choate' ... 'Mt. Hermon'\n",
                "Data variables:\n",
        -       "    mu                 (draw) float64 8.974 8.096 10.18 ... 6.284 7.739 6.146\n",
        -       "    theta              (draw, school) float64 12.52 8.554 9.118 ... 8.595 6.773\n",
        -       "    tau                (draw) float64 7.068 6.156 6.603 ... 5.725 6.225 5.979\n",
        -       "    log_tau            (draw) float64 4.322 4.118 4.234 ... 3.958 4.035 3.951\n",
        -       "    mlogtau            (draw) float64 nan nan nan nan ... 3.993 4.002 4.01 4.021\n",
        -       "    theta_school_diff  (draw, school, school_bis) float64 3.0 6.965 ... 3.0
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -28247,6 +28523,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -28297,7 +28574,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -28305,7 +28582,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -28317,6 +28595,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -28579,28 +28861,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -28635,6 +28917,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -28685,7 +28968,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -28693,7 +28976,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -28705,6 +28989,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -28967,15 +29255,15 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 36kB\n",
              "Dimensions:     (chain: 4, draw: 500, new_school: 2)\n",
              "Coordinates:\n",
      -       "  * chain       (chain) int64 0 1 2 3\n",
      -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
      -       "  * new_school  (new_school) <U13 'Essex College' 'Moordale'\n",
      +       "  * chain       (chain) int64 32B 0 1 2 3\n",
      +       "  * draw        (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * new_school  (new_school) <U13 104B 'Essex College' 'Moordale'\n",
              "Data variables:\n",
      -       "    obs         (chain, draw, new_school) float64 2.041 -2.556 ... -0.2822\n",
      -       "Attributes: (2)
  • new_school
    PandasIndex
    PandasIndex(Index(['Essex College', 'Moordale'], dtype='object', name='new_school'))
  • created_at :
    2024-09-28T19:22:37.147191+00:00
    arviz_version :
    0.20.0

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -29050,6 +29338,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -29100,7 +29389,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -29108,7 +29397,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -29120,6 +29410,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -29382,28 +29676,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -29438,6 +29732,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -29488,7 +29783,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -29496,7 +29791,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -29508,6 +29804,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -29770,36 +30070,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 246kB\n",
              "Dimensions:              (chain: 4, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 16kB ...\n",
      +       "    energy_error         (chain, draw) float64 16kB ...\n",
      +       "    lp                   (chain, draw) float64 16kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 16kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 16kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -29834,6 +30134,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -29884,7 +30185,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -29892,7 +30193,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -29904,6 +30206,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -30166,120 +30472,34 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      -       "Dimensions:  (draw: 500, school: 8)\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
      +       "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (draw) float64 1.941 3.388 4.208 5.687 ... 0.8353 0.06893 2.145\n",
      -       "    theta    (draw, school) float64 4.866 4.59 -0.7404 ... 3.33 -2.031 6.045\n",
      -       "    mu       (draw) float64 3.903 3.915 -1.751 2.595 ... -2.294 0.7908 2.869
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -30314,6 +30534,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -30364,7 +30585,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -30372,7 +30593,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -30384,6 +30606,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -30646,28 +30872,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -30702,6 +30928,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -30752,7 +30979,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -30760,7 +30987,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -30772,6 +31000,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -31034,23 +31266,23 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -31085,6 +31317,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -31135,7 +31368,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -31143,7 +31376,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -31155,6 +31389,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -31417,16 +31655,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -31737,7 +31975,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -31787,7 +32026,7 @@ "\t> constant_data" ] }, - "execution_count": 31, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -31806,7 +32045,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 26, "metadata": {}, "outputs": [ { @@ -31820,8 +32059,8 @@ "
      \n", " \n", "
    • \n", - " \n", - " \n", + " \n", + " \n", "
      \n", "
      \n", "
        \n", @@ -31856,6 +32095,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -31906,7 +32146,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -31914,7 +32154,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -31926,6 +32167,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -32188,247 +32433,119 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
        <xarray.Dataset>\n",
        -       "Dimensions:            (draw: 500, school: 8, school_bis: 8)\n",
        +       "
        <xarray.Dataset> Size: 1MB\n",
        +       "Dimensions:            (chain: 4, draw: 500, school: 8, school_bis: 8)\n",
                "Coordinates:\n",
        -       "  * draw               (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
        -       "  * school             (school) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        -       "  * school_bis         (school_bis) <U16 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * chain              (chain) int64 32B 0 1 2 3\n",
        +       "  * draw               (draw) int64 4kB 0 1 2 3 4 5 ... 494 495 496 497 498 499\n",
        +       "  * school             (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
        +       "  * school_bis         (school_bis) <U16 512B 'Choate' ... 'Mt. Hermon'\n",
                "Data variables:\n",
        -       "    mu                 (draw) float64 5.974 5.096 7.177 ... 3.284 4.739 3.146\n",
        -       "    theta              (draw, school) float64 9.519 5.554 6.118 ... 5.595 3.773\n",
        -       "    tau                (draw) float64 4.068 3.156 3.603 ... 2.725 3.225 2.979\n",
        -       "    log_tau            (draw) float64 1.322 1.118 1.234 ... 0.958 1.035 0.9508\n",
        -       "    mlogtau            (draw) float64 nan nan nan nan ... 0.993 1.002 1.01 1.021\n",
        -       "    theta_school_diff  (draw, school, school_bis) float64 0.0 3.965 ... 0.0
  • created_at :
    2022-10-13T14:37:37.315398
    arviz_version :
    0.13.0.dev0
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -32463,6 +32580,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -32513,7 +32631,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -32521,7 +32639,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -32533,6 +32652,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -32795,32 +32918,32 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8, Upper: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      -       "    upper    (Upper) <U16 'CHOATE' 'DEERFIELD' ... "ST. PAUL'S" 'MT. HERMON'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      +       "    upper    (Upper) <U16 512B 'CHOATE' 'DEERFIELD' ... 'MT. HERMON'\n",
              "Dimensions without coordinates: Upper\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:41.460544
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -32855,6 +32978,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -32905,7 +33029,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -32913,7 +33037,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -32925,6 +33050,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -33187,15 +33316,15 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 36kB\n",
              "Dimensions:     (chain: 4, draw: 500, new_school: 2)\n",
              "Coordinates:\n",
      -       "  * chain       (chain) int64 0 1 2 3\n",
      -       "  * draw        (draw) int64 0 1 2 3 4 5 6 7 ... 492 493 494 495 496 497 498 499\n",
      -       "  * new_school  (new_school) <U13 'Essex College' 'Moordale'\n",
      +       "  * chain       (chain) int64 32B 0 1 2 3\n",
      +       "  * draw        (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * new_school  (new_school) <U13 104B 'Essex College' 'Moordale'\n",
              "Data variables:\n",
      -       "    obs         (chain, draw, new_school) float64 2.041 -2.556 ... -0.2822\n",
      -       "Attributes: (2)
  • new_school
    PandasIndex
    PandasIndex(Index(['Essex College', 'Moordale'], dtype='object', name='new_school'))
  • created_at :
    2024-09-28T19:22:37.147191+00:00
    arviz_version :
    0.20.0

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -33270,6 +33399,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -33320,7 +33450,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -33328,7 +33458,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -33340,6 +33471,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -33602,28 +33737,28 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 133kB\n",
              "Dimensions:  (chain: 4, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0 1 2 3\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 32B 0 1 2 3\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.487399
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -33658,6 +33793,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -33708,7 +33844,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -33716,7 +33852,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -33728,6 +33865,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -33990,36 +34131,36 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 246kB\n",
              "Dimensions:              (chain: 4, draw: 500)\n",
              "Coordinates:\n",
      -       "  * chain                (chain) int64 0 1 2 3\n",
      -       "  * draw                 (draw) int64 0 1 2 3 4 5 6 ... 494 495 496 497 498 499\n",
      +       "  * chain                (chain) int64 32B 0 1 2 3\n",
      +       "  * draw                 (draw) int64 4kB 0 1 2 3 4 5 ... 495 496 497 498 499\n",
              "Data variables: (12/16)\n",
      -       "    max_energy_error     (chain, draw) float64 ...\n",
      -       "    energy_error         (chain, draw) float64 ...\n",
      -       "    lp                   (chain, draw) float64 ...\n",
      -       "    index_in_trajectory  (chain, draw) int64 ...\n",
      -       "    acceptance_rate      (chain, draw) float64 ...\n",
      -       "    diverging            (chain, draw) bool ...\n",
      +       "    max_energy_error     (chain, draw) float64 16kB ...\n",
      +       "    energy_error         (chain, draw) float64 16kB ...\n",
      +       "    lp                   (chain, draw) float64 16kB ...\n",
      +       "    index_in_trajectory  (chain, draw) int64 16kB ...\n",
      +       "    acceptance_rate      (chain, draw) float64 16kB ...\n",
      +       "    diverging            (chain, draw) bool 2kB ...\n",
              "    ...                   ...\n",
      -       "    smallest_eigval      (chain, draw) float64 ...\n",
      -       "    step_size_bar        (chain, draw) float64 ...\n",
      -       "    step_size            (chain, draw) float64 ...\n",
      -       "    energy               (chain, draw) float64 ...\n",
      -       "    tree_depth           (chain, draw) int64 ...\n",
      -       "    perf_counter_diff    (chain, draw) float64 ...\n",
      -       "Attributes: (6)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:37.324929
    inference_library :
    pymc
    inference_library_version :
    4.2.2
    sampling_time :
    7.480114936828613
    tuning_steps :
    1000

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -34054,6 +34195,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -34104,7 +34246,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -34112,7 +34254,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -34124,6 +34267,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -34386,120 +34533,34 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      -       "Dimensions:  (draw: 500, school: 8)\n",
      +       "
      <xarray.Dataset> Size: 45kB\n",
      +       "Dimensions:  (chain: 1, draw: 500, school: 8)\n",
              "Coordinates:\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    tau      (draw) float64 1.941 3.388 4.208 5.687 ... 0.8353 0.06893 2.145\n",
      -       "    theta    (draw, school) float64 4.866 4.59 -0.7404 ... 3.33 -2.031 6.045\n",
      -       "    mu       (draw) float64 3.903 3.915 -1.751 2.595 ... -2.294 0.7908 2.869
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.602116
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -34534,6 +34595,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -34584,7 +34646,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -34592,7 +34654,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -34604,6 +34667,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -34866,32 +34933,32 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 37kB\n",
              "Dimensions:  (chain: 1, draw: 500, school: 8, Upper: 8)\n",
              "Coordinates:\n",
      -       "  * chain    (chain) int64 0\n",
      -       "  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 492 493 494 495 496 497 498 499\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      -       "    upper    (Upper) <U16 'CHOATE' 'DEERFIELD' ... "ST. PAUL'S" 'MT. HERMON'\n",
      +       "  * chain    (chain) int64 8B 0\n",
      +       "  * draw     (draw) int64 4kB 0 1 2 3 4 5 6 7 ... 493 494 495 496 497 498 499\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      +       "    upper    (Upper) <U16 512B 'CHOATE' 'DEERFIELD' ... 'MT. HERMON'\n",
              "Dimensions without coordinates: Upper\n",
              "Data variables:\n",
      -       "    obs      (chain, draw, school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.604969
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -34926,6 +34993,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -34976,7 +35044,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -34984,7 +35052,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -34996,6 +35065,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -35258,27 +35331,27 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 1kB\n",
              "Dimensions:  (school: 8, Upper: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      -       "    upper    (Upper) <U16 'CHOATE' 'DEERFIELD' ... "ST. PAUL'S" 'MT. HERMON'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
      +       "    upper    (Upper) <U16 512B 'CHOATE' 'DEERFIELD' ... 'MT. HERMON'\n",
              "Dimensions without coordinates: Upper\n",
              "Data variables:\n",
      -       "    obs      (school) float64 28.0 8.0 -3.0 7.0 -1.0 1.0 18.0 12.0\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.606375
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", " \n", "
  • \n", - " \n", - " \n", + " \n", + " \n", "
    \n", "
    \n", "
      \n", @@ -35313,6 +35386,7 @@ "}\n", "\n", "html[theme=dark],\n", + "html[data-theme=dark],\n", "body[data-theme=dark],\n", "body.vscode-dark {\n", " --xr-font-color0: rgba(255, 255, 255, 1);\n", @@ -35363,7 +35437,7 @@ ".xr-sections {\n", " padding-left: 0 !important;\n", " display: grid;\n", - " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", + " grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;\n", "}\n", "\n", ".xr-section-item {\n", @@ -35371,7 +35445,8 @@ "}\n", "\n", ".xr-section-item input {\n", - " display: none;\n", + " display: inline-block;\n", + " opacity: 0;\n", "}\n", "\n", ".xr-section-item input + label {\n", @@ -35383,6 +35458,10 @@ " color: var(--xr-font-color2);\n", "}\n", "\n", + ".xr-section-item input:focus + label {\n", + " border: 2px solid var(--xr-font-color0);\n", + "}\n", + "\n", ".xr-section-item input:enabled + label:hover {\n", " color: var(--xr-font-color0);\n", "}\n", @@ -35645,16 +35724,16 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
      <xarray.Dataset>\n",
      +       "
      <xarray.Dataset> Size: 576B\n",
              "Dimensions:  (school: 8)\n",
              "Coordinates:\n",
      -       "  * school   (school) <U16 'Choate' 'Deerfield' ... "St. Paul's" 'Mt. Hermon'\n",
      +       "  * school   (school) <U16 512B 'Choate' 'Deerfield' ... 'Mt. Hermon'\n",
              "Data variables:\n",
      -       "    scores   (school) float64 ...\n",
      -       "Attributes: (4)
  • arviz_version :
    0.13.0.dev0
    created_at :
    2022-10-13T14:37:26.607471
    inference_library :
    pymc
    inference_library_version :
    4.2.2

  • \n", " \n", " \n", " \n", @@ -35965,7 +36044,8 @@ " grid-template-columns: 125px auto;\n", "}\n", "\n", - ".xr-attrs dt, dd {\n", + ".xr-attrs dt,\n", + ".xr-attrs dd {\n", " padding: 0;\n", " margin: 0;\n", " float: left;\n", @@ -36015,7 +36095,7 @@ "\t> constant_data" ] }, - "execution_count": 39, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -36056,7 +36136,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.8" }, "varInspector": { "cols": {