Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Interpretability Python Packages

Python packages with the GitHub topic interpretability. Sorted by monthly downloads, with stars and forks.
shap
shap

A game theoretic approach to explain the output of any machine learning model.

9.5M 26K 4K
interpretml
interpret-core

Fit interpretable models. Explain blackbox machine learning.

735K 7K 803
pytorch
captum

Model interpretability and understanding for PyTorch

457K 6K 579
ottenbreit-data-science
aplr

APLR builds predictive, interpretable regression and classification models using Automatic Piecewise Linear Regression. It often rivals tree-based methods in predictive accuracy while offering smoother and interpretable predictions.

268K 28 7
interpretml
interpret

Fit interpretable models. Explain blackbox machine learning.

168K 7K 803
tensorflow
tensorflow-decision-forests

A collection of state-of-the-art algorithms for the training, serving and interpretation of Decision Forest models in Keras.

117K 694 115
google
ydf

A library to train, evaluate, interpret, and productionize decision forest models such as Random Forest and Gradient Boosted Decision Trees.

106K 681 85
jacobgil
grad-cam

Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.

71K 13K 2K
microsoft
raiutils

Responsible AI Toolbox is a suite of tools providing model and data exploration and assessment user interfaces and libraries that enable a better understanding of AI systems. These interfaces and libraries empower developers and stakeholders of AI systems to develop and monitor AI more responsibly, and take better data-driven actions.

54K 2K 518
mmschlk
shapiq

Shapley Values and Shapley Interactions for Machine Learning

48K 799 83
ndif-team
nnsight

The nnsight package enables interpreting and manipulating the internals of deep learned models.

46K 1K 140
ModelOriented
dalex

moDel Agnostic Language for Exploration and eXplanation

26K 1K 175
csinva
imodels

Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).

26K 2K 150
microsoft
erroranalysis

Responsible AI Toolbox is a suite of tools providing model and data exploration and assessment user interfaces and libraries that enable a better understanding of AI systems. These interfaces and libraries empower developers and stakeholders of AI systems to develop and monitor AI more responsibly, and take better data-driven actions.

22K 2K 518
linkedin
fasttreeshap

Fast SHAP value computation for interpreting tree-based models

20K 567 38
wisent-ai
wisent

Monitor and influence AI Brains

19K 345 33
microsoft
responsibleai

Responsible AI Toolbox is a suite of tools providing model and data exploration and assessment user interfaces and libraries that enable a better understanding of AI systems. These interfaces and libraries empower developers and stakeholders of AI systems to develop and monitor AI more responsibly, and take better data-driven actions.

13K 2K 518
frgfm
torchcam

Class activation maps for your PyTorch models (CAM, Grad-CAM, Grad-CAM++, Smooth Grad-CAM++, Score-CAM, SS-CAM, IS-CAM, XGrad-CAM, Layer-CAM, Finer-CAM, LeGrad, RefineCAM)

13K 2K 233
srikumar2050
hugiml-core

High-performance interpretable ML classifier using High Utility Gain patterns (IEEE Access 2024). C++ accelerated, scikit-learn compatible, with EBM-style explanations, adaptive binning, pattern pruning, and deployment tooling for regulated domains.

12K 1 0
johnmarktaylor91
torchlens

Inspect, visualize and intervene on any operation in any neural network. Capture every activation and gradient, the full computational graph and 800+ metadata fields without changing model code. Supports PyTorch, JAX, TensorFlow, MLX, PaddlePaddle and tinygrad. Validated on 6400+ models. Built for researchers and their AI agents.

9K 714 35
Loganwins
proprioceptive-lens

Local AI interface for token certainty, double-checking, hidden-state behaviour probes, model steering, and private memory.

8K 2 0
snehankekre
streamlit-shap

streamlit-shap provides a wrapper to display SHAP plots in Streamlit.

8K 95 8
SeldonIO
alibi

Algorithms for explaining machine learning models

8K 3K 268
KennethEnevoldsen
asent

Asent is a python library for performing efficient and transparent sentiment analysis using spaCy.

8K 114 16
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology