Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add note about pymc and bambi installation #472

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading