{ "cells": [ { "cell_type": "markdown", "id": "457ada8c", "metadata": {}, "source": [ "# Parametric and Interval Models\n", "In this notebook, we will show how to create and work with parametric and\n", "interval models.\n", "## Parametric Models\n", "\n", "Stormvogel represents parametric transition values as **sympy expressions**.\n", "Any polynomial or rational function over `sympy.Symbol` parameters is a valid\n", "transition value, which means you can write them using ordinary Python\n", "arithmetic." ] }, { "cell_type": "code", "execution_count": 1, "id": "f14aa684", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:21.396317Z", "iopub.status.busy": "2026-10-01T12:39:21.396156Z", "iopub.status.idle": "2026-10-01T12:39:21.622926Z", "shell.execute_reply": "2026-10-01T12:39:21.622155Z" } }, "outputs": [], "source": [ "import sympy as sp" ] }, { "cell_type": "markdown", "id": "e91d9b47", "metadata": {}, "source": [ "For example, a polynomial in two variables:" ] }, { "cell_type": "code", "execution_count": 2, "id": "deab237a", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:21.625186Z", "iopub.status.busy": "2026-10-01T12:39:21.624947Z", "iopub.status.idle": "2026-10-01T12:39:21.654593Z", "shell.execute_reply": "2026-10-01T12:39:21.653973Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "x**2 + y**2\n", "6*z**3 + z + 2\n", "(x**2 + y**2)/(6*z**3 + z + 2)\n" ] } ], "source": [ "x, y, z = sp.symbols(\"x y z\")\n", "\n", "polynomial1 = x**2 + y**2\n", "print(polynomial1)\n", "\n", "polynomial2 = 6 * z**3 + z + 2\n", "print(polynomial2)\n", "\n", "rational_function = polynomial1 / polynomial2\n", "print(rational_function)" ] }, { "cell_type": "markdown", "id": "e017f43e", "metadata": {}, "source": [ "To create a parametric model (e.g. pMC or pMDP) we simply use these sympy\n", "expressions as transition probabilities. As an example, we build a\n", "parametric Knuth–Yao dice: a coin with success probability `x` is flipped\n", "repeatedly to simulate a six-sided die." ] }, { "cell_type": "code", "execution_count": 3, "id": "b8697ddf", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:21.656476Z", "iopub.status.busy": "2026-10-01T12:39:21.656280Z", "iopub.status.idle": "2026-10-01T12:39:22.173362Z", "shell.execute_reply": "2026-10-01T12:39:22.172771Z" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/tmp/ipykernel_1254/1846297749.py:10: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " s: bird.State,\n", "/tmp/ipykernel_1254/1846297749.py:11: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " ) -> list[tuple[float | sp.Expr, bird.State]] | None:\n", "/tmp/ipykernel_1254/1846297749.py:37: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " def labels(s: bird.State):\n", "/tmp/ipykernel_1254/1846297749.py:44: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " init=bird.State(s=0),\n", "/tmp/ipykernel_1254/1846297749.py:14: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(x, bird.State(s=1)), (1 - x, bird.State(s=2))]\n", "/tmp/ipykernel_1254/1846297749.py:16: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(x, bird.State(s=3)), (1 - x, bird.State(s=4))]\n", "/tmp/ipykernel_1254/1846297749.py:18: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(x, bird.State(s=5)), (1 - x, bird.State(s=6))]\n", "/tmp/ipykernel_1254/1846297749.py:20: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(x, bird.State(s=1)), (1 - x, bird.State(s=7, d=1))]\n", "/tmp/ipykernel_1254/1846297749.py:23: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (x, bird.State(s=7, d=2)),\n", "/tmp/ipykernel_1254/1846297749.py:24: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (1 - x, bird.State(s=7, d=3)),\n", "/tmp/ipykernel_1254/1846297749.py:28: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (x, bird.State(s=7, d=4)),\n", "/tmp/ipykernel_1254/1846297749.py:29: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (1 - x, bird.State(s=7, d=5)),\n", "/tmp/ipykernel_1254/1846297749.py:32: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(x, bird.State(s=2)), (1 - x, bird.State(s=7, d=6))]\n" ] }, { "data": { "text/html": [ "\n", "\n", "\n", " \n", " Network\n", " \n", " \n", " \n", " \n", " \n", "
\n", " \n", " \n", " \n", " \n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from stormvogel import model, bird\n", "from stormvogel.show import show\n", "\n", "# A single symbolic parameter for the coin bias.\n", "x = sp.Symbol(\"x\")\n", "\n", "\n", "# we build the Knuth–Yao dice using the bird model builder\n", "def delta(\n", " s: bird.State,\n", ") -> list[tuple[float | sp.Expr, bird.State]] | None:\n", " match s.s:\n", " case 0:\n", " return [(x, bird.State(s=1)), (1 - x, bird.State(s=2))]\n", " case 1:\n", " return [(x, bird.State(s=3)), (1 - x, bird.State(s=4))]\n", " case 2:\n", " return [(x, bird.State(s=5)), (1 - x, bird.State(s=6))]\n", " case 3:\n", " return [(x, bird.State(s=1)), (1 - x, bird.State(s=7, d=1))]\n", " case 4:\n", " return [\n", " (x, bird.State(s=7, d=2)),\n", " (1 - x, bird.State(s=7, d=3)),\n", " ]\n", " case 5:\n", " return [\n", " (x, bird.State(s=7, d=4)),\n", " (1 - x, bird.State(s=7, d=5)),\n", " ]\n", " case 6:\n", " return [(x, bird.State(s=2)), (1 - x, bird.State(s=7, d=6))]\n", " case 7:\n", " return [(1, s)]\n", "\n", "\n", "def labels(s: bird.State):\n", " if s.s == 7:\n", " return f\"rolled{str(s.d)}\"\n", "\n", "\n", "knuth_yao_pmc = bird.build_bird(\n", " delta=delta,\n", " init=bird.State(s=0),\n", " labels=labels,\n", " modeltype=model.ModelType.DTMC,\n", ")\n", "\n", "show(knuth_yao_pmc)" ] }, { "cell_type": "markdown", "id": "d4ace9fe", "metadata": {}, "source": [ "The symbol `x` was auto-declared on the model as soon as it appeared in a\n", "transition. You can inspect the parameters any time:" ] }, { "cell_type": "code", "execution_count": 4, "id": "65edde8c", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:22.190895Z", "iopub.status.busy": "2026-10-01T12:39:22.190495Z", "iopub.status.idle": "2026-10-01T12:39:22.193999Z", "shell.execute_reply": "2026-10-01T12:39:22.193504Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Parameters: ('x',)\n" ] } ], "source": [ "print(\"Parameters:\", knuth_yao_pmc.parameters)" ] }, { "cell_type": "markdown", "id": "2950f0dd", "metadata": {}, "source": [ "We can now evaluate the model by assigning the parameter `x` to any concrete\n", "value. This induces a regular DTMC with fixed probabilities." ] }, { "cell_type": "code", "execution_count": 5, "id": "4f007f2b", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:22.195634Z", "iopub.status.busy": "2026-10-01T12:39:22.195474Z", "iopub.status.idle": "2026-10-01T12:39:22.224266Z", "shell.execute_reply": "2026-10-01T12:39:22.223710Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", " \n", " Network\n", " \n", " \n", " \n", " \n", " \n", "
\n", " \n", " \n", " \n", " \n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "p = 1 / 2\n", "\n", "eval_knuth_yao_pmc = knuth_yao_pmc.get_instantiated_model({\"x\": p})\n", "show(eval_knuth_yao_pmc)" ] }, { "cell_type": "markdown", "id": "c31bc57a", "metadata": {}, "source": [ "## Interval Models\n", "We can also set an interval between two values x and y as transition value,\n", "meaning that we don't know the probability precisely, but we know it is\n", "between x and y. We represent intervals using `model.Interval`, where we\n", "have two attributes: `lower` and `upper`. Both of these should be an\n", "element of type `Number`, i.e., `int`, `float` or `Fraction`." ] }, { "cell_type": "code", "execution_count": 6, "id": "092c877e", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:22.241364Z", "iopub.status.busy": "2026-10-01T12:39:22.241147Z", "iopub.status.idle": "2026-10-01T12:39:22.244568Z", "shell.execute_reply": "2026-10-01T12:39:22.243965Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[0.3333333333333333,0.6666666666666666]\n" ] } ], "source": [ "interval = model.Interval(1 / 3, 2 / 3)\n", "print(interval)" ] }, { "cell_type": "markdown", "id": "93e39ff4", "metadata": {}, "source": [ "Similar to parametric models, creating an interval model is as\n", "straightforward as just setting some interval objects as transition values." ] }, { "cell_type": "code", "execution_count": 7, "id": "a57d38a5", "metadata": { "execution": { "iopub.execute_input": "2026-10-01T12:39:22.246426Z", "iopub.status.busy": "2026-10-01T12:39:22.246246Z", "iopub.status.idle": "2026-10-01T12:39:22.284224Z", "shell.execute_reply": "2026-10-01T12:39:22.283662Z" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/tmp/ipykernel_1254/1271625296.py:10: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " def delta(s: bird.State) -> list[tuple[float | model.Interval, bird.State]] | None:\n", "/tmp/ipykernel_1254/1271625296.py:36: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " def labels(s: bird.State):\n", "/tmp/ipykernel_1254/1271625296.py:43: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " init=bird.State(s=0),\n", "/tmp/ipykernel_1254/1271625296.py:13: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(interval, bird.State(s=1)), (inv_interval, bird.State(s=2))]\n", "/tmp/ipykernel_1254/1271625296.py:15: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(interval, bird.State(s=3)), (inv_interval, bird.State(s=4))]\n", "/tmp/ipykernel_1254/1271625296.py:17: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(interval, bird.State(s=5)), (inv_interval, bird.State(s=6))]\n", "/tmp/ipykernel_1254/1271625296.py:19: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(interval, bird.State(s=1)), (inv_interval, bird.State(s=7, d=1))]\n", "/tmp/ipykernel_1254/1271625296.py:22: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (interval, bird.State(s=7, d=2)),\n", "/tmp/ipykernel_1254/1271625296.py:23: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (inv_interval, bird.State(s=7, d=3)),\n", "/tmp/ipykernel_1254/1271625296.py:27: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (interval, bird.State(s=7, d=4)),\n", "/tmp/ipykernel_1254/1271625296.py:28: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " (inv_interval, bird.State(s=7, d=5)),\n", "/tmp/ipykernel_1254/1271625296.py:31: DeprecationWarning: bird.State is deprecated, use bird.BirdState instead.\n", " return [(interval, bird.State(s=2)), (inv_interval, bird.State(s=7, d=6))]\n" ] }, { "data": { "text/html": [ "\n", "\n", "\n", " \n", " Network\n", " \n", " \n", " \n", " \n", " \n", "
\n", " \n", " \n", " \n", " \n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from stormvogel import bird\n", "from stormvogel.show import show\n", "\n", "# We create our interval values\n", "interval = model.Interval(2 / 7, 6 / 7)\n", "inv_interval = model.Interval(1 / 7, 5 / 7)\n", "\n", "\n", "# we build the knuth yao dice using the bird model builder\n", "def delta(s: bird.State) -> list[tuple[float | model.Interval, bird.State]] | None:\n", " match s.s:\n", " case 0:\n", " return [(interval, bird.State(s=1)), (inv_interval, bird.State(s=2))]\n", " case 1:\n", " return [(interval, bird.State(s=3)), (inv_interval, bird.State(s=4))]\n", " case 2:\n", " return [(interval, bird.State(s=5)), (inv_interval, bird.State(s=6))]\n", " case 3:\n", " return [(interval, bird.State(s=1)), (inv_interval, bird.State(s=7, d=1))]\n", " case 4:\n", " return [\n", " (interval, bird.State(s=7, d=2)),\n", " (inv_interval, bird.State(s=7, d=3)),\n", " ]\n", " case 5:\n", " return [\n", " (interval, bird.State(s=7, d=4)),\n", " (inv_interval, bird.State(s=7, d=5)),\n", " ]\n", " case 6:\n", " return [(interval, bird.State(s=2)), (inv_interval, bird.State(s=7, d=6))]\n", " case 7:\n", " return [(1, s)]\n", "\n", "\n", "def labels(s: bird.State):\n", " if s.s == 7:\n", " return f\"rolled{str(s.d)}\"\n", "\n", "\n", "knuth_yao_imc = bird.build_bird(\n", " delta=delta,\n", " init=bird.State(s=0),\n", " labels=labels,\n", " modeltype=model.ModelType.DTMC,\n", ")\n", "\n", "show(knuth_yao_imc)" ] }, { "cell_type": "code", "execution_count": null, "id": "15af036c", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.15" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { "191926b1a9bc44e381a90b3954524572": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "197ffe41472446e8b0f31e1a24fdab36": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "1a0fc3ed611642ce8ae84c5f90c5fa00": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "24046a4112f343d4b694ed2855662331": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_191926b1a9bc44e381a90b3954524572", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "325c2c7339e44a1eb936d3364d6396f3": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_1a0fc3ed611642ce8ae84c5f90c5fa00", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "5c0fe6b82f4c4a9bbb8a4013acf6ddf1": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "6a0561db4ea54380974e27e74b08c5ae": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_5c0fe6b82f4c4a9bbb8a4013acf6ddf1", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "75defefe7b324787ac7e2437c62db357": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "8aab0bcf1c92492dbdc7d4173bcb63eb": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_75defefe7b324787ac7e2437c62db357", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "973a9a3ae91640e7b2dc6da3acb659e9": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_197ffe41472446e8b0f31e1a24fdab36", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "b121144a754c4bca92c275adcc0077f2": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "e9228c568472436885b86ec2b3246298": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_b121144a754c4bca92c275adcc0077f2", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } } }, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }