Python Libraries for Explainable AI logopeterindia.net
Knowledge Hub

Python Libraries for Explainable AI (XAI): SHAP, LIME, Captum & More

Python toolkits for making machine learning models interpretable — attribution, counterfactuals, rules and evaluation.

24 topics•5 categories•Updated November 2026

Feature Attribution

5 entries

Explain individual predictions.

Toolkits & Dashboards

6 entries

Broader explainability suites.

Rules, Counterfactuals & Text

3 entries

Other explanation styles.

Evaluating Explanations

1 entries

Check that explanations are trustworthy.

XAI Libraries

2 entries

Python explainability libraries.

Related Pages

7 entries

Neighbouring pages on this site.

Frequently Asked Questions

What is explainable AI?

Explainable AI is the set of methods that make a machine learning model's predictions understandable to people, for example by showing which features drove a result.

Which XAI library should I start with?

SHAP and LIME are the most widely used for tabular, text and image models; Captum is a natural choice for PyTorch models and InterpretML for glass-box models.

Are all these libraries actively maintained?

No. Several have had no recent commits (LIME since 2021, Anchors since 2022, interpret-text since 2024); the notes give last-commit dates from October 2026.

Which additional references does this page add?

The section 'XAI Libraries' lists SHAP, Captum, InterpretML, LIME.

How current is this page?

Links were checked in October 2026. Sites that block automated checks are kept and may need a manual click. Last-commit dates are from GitHub in October 2026 and show activity only; check each project's release notes before adopting it.