Model or dataset
Trusted-AI/AIX360 avatar
Trusted-AI/AIX360

AIX360: explainability algorithms, dependencies and installation

Interpretability and explainability of data and machine learning models

1,810 stars329 forksPythonApache-2.0

At a glance

What is it?
AIX360 brings together explainability methods for datasets and machine learning models. Algorithm-specific extras add dependencies, so check the documented configurations and test the chosen methods in an isolated environment.
Who is it for?
Use AIX360 when its explainers fit your data and model, and test the specific algorithms and dependencies in an isolated environment. The README lists tested configurations, while individual dependencies may constrain the Python versions that can be installed.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 79 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • Trusted-AI/AIX3601,810 ★ · +8
Star history
Repository2026-09-112026-11-23
Trusted-AI/AIX3601.8k1.8k

8 Stars in the last 73 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The version is a string literal that rewrites a file in the package

`setup.py` does not read the version from anywhere. It declares it and then writes it into the package as a side effect of the build:

python
version = "0.3.0"

with open("aix360/version.py", "w") as f:
    f.write('# generated by setup.py\nversion = "{}"\n'.format(version))

So `0.3.0` is a literal in the build script, and running the build creates or overwrites `aix360/version.py` inside the source tree. There is no tag lookup and no git describe.

The same number appears in three places, and they have drifted apart in meaning. The README heading is `AI Explainability 360 (v0.3.0)`, the releases page has v0.3.0 published 2023-07-01 as its newest entry, and the default branch `master` was last pushed on 2026-09-05. So the version everyone reads is 0.3.0, that release is a 2023 build, and the branch has moved well past it without a new tag. `pip install aix360` gives you the 2023 artifact; `pip install` from a clone gives you 2026 code that still identifies itself as 0.3.0.

The older tags make the same point: v0.2.1 in 2020 and v0.2.0 in 2019, whose release note is the integration of LIME and SHAP.

The Dockerfile installs the package, then clones the repository over it

The container recipe is six steps and reads as if it was assembled in the wrong order:

dockerfile
FROM ubuntu:18.04
FROM python:3.6

Two FROM lines, and the second one wins, so `ubuntu:18.04` is discarded and the base is `python:3.6`. That interpreter matches the oldest floor in the extras table rather than the newest.

The order of the next steps is the substantive problem. `RUN pip install aix360` installs the released package from PyPI. The step after it is `RUN git clone https://github.com/Trusted-AI/AIX360.git`, which puts a source checkout in the working directory `/src` on top of a site-packages that already contains an older copy of the same library, and nothing installs that checkout. The final step is `RUN pip install jupyterlab` under a comment that says to run the tutorial inside the container. The comment describes an action the line does not perform. The Dockerfile sets no `CMD` or `ENTRYPOINT` of its own; the base image may supply defaults, so inspect that image and specify the desired command explicitly.

None of this is dangerous, but all of it misleads: the checkout is not installed by the Dockerfile, and which copy Python imports depends on the working directory and import path.

Eighteen extras, three Python floors and one missing example

The README lists installation keywords, supported operating systems and Python versions for individual explainers. Those versions describe documented configurations; the extras in setup.py specify dependency requirements rather than independently pinning the interpreter. Dependencies can nevertheless restrict which Python versions will resolve, so test the chosen combination in an isolated environment.

The base installation includes numpy, pandas, scikit-learn and matplotlib. Optional groups add the packages needed for particular methods: for example, `pip install 'aix360[contrastive]'` selects the contrastive extra. The repository's current setup.py also defines a `ted` extra, and its base requirements note that TED is supported by default. Check the README and examples directory for guidance and verify the exact release you install, since the source branch and published package may differ.

Three extras pin tensorflow 1.14, and one installs from a git branch

The dependency pins carry comments, and the comments are the interesting part because they explain each conflict rather than hiding it. The `contrastive` extra is the clearest example:

python
    "contrastive": [
      "keras==2.3.1",
      "tensorflow==1.14",
      "protobuf<3.20",  # TF 1.14's generated _pb2 files reject protobuf 4.x
      "requests",
      "safetensors<0.4",  # GAN weights format; 0.3.x is the last series with Py3.7 wheels
      "scipy>=0.17",
      "scikit-image",
      "torch",
      "h5py<3.0.0",  # to resolve keras error: 'str' object has no attribute 'decode'"
    ],

`profwt` and `shap` pin `keras==2.3.1` and `tensorflow==1.14` the same way. Those releases are from 2019. The contrastive extra additionally constrains protobuf, safetensors and h5py; the profwt and shap lists do not contain all of those constraints. The `rbm` extra caps `numpy<=1.24.3`, `scikit-learn<1.2.0` and `scipy<=1.10.1`, and `cofrnet` pins `numpy==1.24.2` exactly.

The one that is not a version pin at all is `matching`, which is a single entry: `otoc @ git+https://github.com/IBM/otoc@main#egg=otoc`. That resolves against a branch, not a tag, so two installs of the same aix360 extra can pull different code with no change on the aix360 side. Other extras mix exact pins, version ranges and unpinned dependencies, so repeatable environments need a tested lockfile.

ProtoDash sits in two categories, and there are two metrics for all of it

The algorithm inventory is grouped by explanation type, and the grouping is not always exclusive. ProtoDash appears under data explanations and again under local post-hoc explanations. The data explanations group is the thinnest, with ProtoDash and the Disentangled Inferred Prior VAE, and the largest is local post hoc: ProtoDash, the Contrastive Explanations Method and its monotonic attribute variant, an exemplar based variant, grouped conditional expectation, LIME and SHAP.

The remaining groups are time series local post hoc, which is LIME, individual conditional expectation and saliency maps via integrated gradients adapted to sequences; local direct, which is the Hind work on teaching a model to explain its decisions and order constraints in optimal transport; certifying local explanations, with Ecertify; global direct, with interpretable model differencing, CoFrNets, boolean decision rules, generalized linear rule models and Ripper; and global post hoc, with ProfWeight.

Against roughly twenty algorithms across seven categories, the metrics section lists two: faithfulness and monotonicity. Choosing among the algorithms is left to the reader, and the README says so directly, pointing at guidance material on the project site and a taxonomy tree in the repository at `aix360/algorithms/README.md`. The interactive experience at aix360.res.ibm.com walks the same ground through example use cases, and the notebooks under `examples/` are the data scientist route in.

LLM input attribution is pointed at a different repository

The most prominent line in the README is a pointer away from the package. A banner announces that IBM Research has a new toolkit, In-Context Explainability 360, and describes it as extending explainability to LLMs, specifically in terms of the input given to the LLM.

That is a deliberate division. AIX360's own scope is datasets and models across tabular, text, image and time series data, and the LLM input side is handled elsewhere. Anyone arriving looking for prompt or attribution explanations for a language model is being redirected before they read a single algorithm name.

The rest of the entry points follow the same pattern of staged depth. The project site is the introduction, walking an example use case for different consumer personas. The tutorials and example notebooks under `examples/` are the deeper, data scientist oriented route, and the API reference is available for the rest. Documentation builds through readthedocs, with a `.readthedocs.yml` at the root and a `docs/` directory beside it.

The project also states its own lifecycle in plain words: the library is still in development, it was built with extensibility in mind, and contributions of algorithms, metrics and use cases are invited through a Slack community with contribution instructions in `CONTRIBUTING.md`.

Apache-2.0 in the metadata, a supplementary licence directory, and a disabled Travis file

Licensing is handled with a pair. Apache-2.0 is the recorded licence, and the root of the tree carries a directory named `supplementary license/` beside the `LICENSE` file. That is the pattern for a project whose code is Apache licensed but whose data or derived material is not, and the split is only discoverable by listing the root, since the README does not mention the directory.

The CI story has the same shape. The README badge points at `.github/actions/workflows/Build.yml`, so continuous integration runs on GitHub Actions, and the root also contains a file named `Not_using_travis.yml`. The leading `Not_` prefix is what keeps it inert, and its presence says the project moved off Travis and left the old configuration in the tree rather than deleting it.

Alongside those sit `MAINTAINERS.md`, `SECURITY.md` and `CONTRIBUTING.md`, and a `tests/` directory beside the `aix360/` package. Nothing in the root tree pins the version, and nothing in the build reads a tag, so the release history on the releases page and the version inside the package are maintained by hand and only agree as long as someone remembers to bump the literal.

Editorial conclusion

Use AIX360 when its explainers fit your data and model, and test the specific algorithms and dependencies in an isolated environment. The README lists tested configurations, while individual dependencies may constrain the Python versions that can be installed. For LLM input explanations, the project also points readers to ICX360. Compare the PyPI release with the source branch before choosing which to install.

Frequently asked questions

What is AIX360 and what does it cover?

The AI Explainability 360 toolkit is an open source library for interpretability and explainability of datasets and machine learning models, supporting tabular, text, image and time series data. Its algorithms are grouped into data explanations, local post hoc, time series local post hoc, local direct, certifying local explanations, global direct and global post hoc.

How do I install AIX360 with a specific explainer?

Install the base package with `pip install aix360`, or select an extra such as `pip install 'aix360[contrastive]'`. The base dependencies include numpy, pandas, scikit-learn and matplotlib. Check setup.py and the README for the chosen release and method; the source branch can differ from the PyPI release.

Which Python versions does AIX360 support?

The README lists Python versions for individual explainers, including 3.10 for many methods, 3.6 for profwt and shap, and 3.7 for contrastive. Treat these as documented configurations, not interpreter pins imposed by every extra. Dependency availability and the package version still need to be tested in your environment.

What is the current version of AIX360?

The inspected repository's setup.py declares 0.3.0, but a source checkout may include changes beyond an older release with the same version. Check the current PyPI release and repository history before installing.

Does AIX360 explain LLM inputs?

The README directs that to a separate IBM Research toolkit, In-Context Explainability 360, which extends explainability to LLMs in terms of the input given to the model. AIX360's own scope is datasets and models across tabular, text, image and time series data.

Which explainability metrics does AIX360 measure with?

Two: faithfulness, following Alvarez-Melis and Jaakkola, and monotonicity, following Luss and colleagues. That is a small metric set against roughly twenty algorithms spread over seven explanation categories, which is why the README points at guidance material and a taxonomy tree for choosing between them.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. Trusted-AI/AIX360 on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/trusted-ai-aix360.svg)](https://hysenlabs.com/projects/trusted-ai-aix360)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/trusted-ai-aix360.svg)](https://hysenlabs.com/projects/trusted-ai-aix360)

Was this useful?