Installation¶
Calibrated Explanations is published on PyPI and conda-forge. Install the base package first, then add extras that unlock plotting, notebook examples, or contributor tooling.
PyPI¶
pip install calibrated-explanations
Extras are opt-in so you only pull the dependencies you need:
Extra |
Purpose |
Install command |
|---|---|---|
|
Matplotlib-based plotting and PlotSpec adapters. |
|
|
Jupyter notebook tutorials with pinned dependencies. |
|
|
Full development toolchain (linters, docs, tests). |
|
|
Benchmarking and evaluation tools. |
|
|
Curated optional bundles (e.g., FAST explanations and intervals). |
|
conda-forge¶
conda install -c conda-forge calibrated-explanations
If you rely on extras from PyPI inside a conda environment, install the base
package via conda and then add the relevant extras with pip.
Verifying your environment¶
python -c "import calibrated_explanations; print(calibrated_explanations.__version__)"
The command should echo 0.10.3 or later once your environment is ready.