Skip to content

Commit

Permalink
add note about pymc and bambi installation (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia authored Jun 19, 2024
1 parent 5f7f41f commit 9f37072
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docs/examples/observed_space_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@
"# Predictive elicitation"
]
},
{
"cell_type": "markdown",
"id": "f06af29a",
"metadata": {},
"source": [
"PyMC and Bambi are optional dependencies of PreliZ, you only need them if you want to use the `predictive_explorer` function with PyMC or Bambi models.\n",
"\n",
"To install them, you can run the following command:\n",
"\n",
"```bash\n",
"conda install -c conda-forge pymc bambi\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand All @@ -17,10 +31,12 @@
"source": [
"import arviz as az\n",
"import preliz as pz\n",
"import pymc as pm\n",
"import bambi as bmb\n",
"import numpy as np\n",
"import pandas as pd"
"import pandas as pd\n",
"\n",
"# Optional dependencies\n",
"import pymc as pm\n",
"import bambi as bmb"
]
},
{
Expand Down

0 comments on commit 9f37072

Please sign in to comment.