Skip to main content

image Aie Confiance... https://www.youtube.com/watch?v=2gflQEF1WQU

KAA v25.12

KAA is a Python framework allowing to apply several methods and metrics from several dedicated XAI libraries on AI model to verify them. It is built around a kernel offering a TUI Text-based User Interface and hosting two sets of plugins:

  • the plugins of the explainability libraries called pluginsXAI
  • the plugins of the use cases called pluginsUCXAI

KAA must be considered as a comprehensibility tool. It is part of these mediation tools allowing to implement explainability methods in a guided way, to facilitate the adjustment of their parameters by adding knowledge of their influence. It then offers appropriate and relevant interfaces and visualizations of results to select the methods and metrics that are most suited to the user’s problem.

In this version of KAA, the AIX360 (v0.3.0), Alibi (v0.9.6), Captum (v0.7.0), PAIR saliency (v0.2.1), Shap (v0.44.1) and Xplique (v1.4.0) plugins are provided.

Full documentation can be found in ./documentation/Kaa_User_and_Integration_Manual.pdf

Quick Start

KAA requires a version of python equal to 3.8 and several libraries including Tensorflow and Numpy. Installation can be done:

  1. using Pypi:
pip install KAA-XAI
  1. via downlading the v25.12 tag on our github:

Option 1: Using Git

git clone https://github.com/IRT-Saint-Exupery/KAA.git
cd KAA
git checkout tags/v25.12

Option 2: Download the ZIP archive

wget https://github.com/IRT-Saint-Exupery/KAA/archive/refs/tags/v25.12.zip
unzip v25.12.zip
cd KAA-25.12

Install the requirements:

pip install -r requirements.txt

Then install the XAI libraries you want:

pip install -r requirementsXAIlibs.txt

Now that KAA is installed, you can launch the TUI KAA .

python3 kaa/kaa.py -u example/pluginsUCXAI/ -b example/UseCase/ -r ~/KAA_example

or execute a command file of the example:

python3 kaa/kaa.py -u example/pluginsUCXAI/ -b example/UseCase/ -r ~/KAA_example -c example/example.cmd

The results are available in the -r path:

~/KAA_example
+-- fullReports
|   +-- Resnet
|       +-- UCRenaultWeldingResnet_fullReport__expl-data.pdf
+-- Xplique
    +-- Occlusion__bz64_pz35_ps3_ov1
    |   +-- contactSheet.pdf
    +-- Rise__bz64_ns2000_gz7_pp0-5
        +-- contactSheet.pdf

Release files for kaa-xai 25.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaa-xai 25.12.0
File Size Uploaded
kaa_xai-25.12.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kaa-xai 25.12.0
File Interpreter ABI Platform
kaa_xai-25.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / kaa_xai-25.12.0.tar.gz

Download URL kaa_xai-25.12.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
183134f6d9c758d124441108d190e10ed624fb705e1c9de705b6dd2981914dfc
BLAKE2b-256 checksum
How to use checksums
f4722e9286e44495707deaf041d3a7fe1242d305e3c9e78bef18b5e1b938c214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / kaa_xai-25.12.0-py3-none-any.whl

Download URL kaa_xai-25.12.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac8384e4d373f486fd1d07fee517492ed6370109527f1610815156d5c48d4ef2
BLAKE2b-256 checksum
How to use checksums
f0cc8cfb5d0639bc8c5f9c849eaf41e31f0858da5695178e7333bb4de9429e21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

25.12.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page