← all repositories
ModelOriented/DALEX

X-ray goggles for your black-box model

DALEX wraps any predictive model so you can interrogate it with local and global explainers without caring what's inside.

1.5k stars Python LLMOps · Eval
DALEX
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

What it does

DALEX is a model-agnostic explainer: call explain() on your fitted model, then probe it with SHAP, LIME, residual analysis, fairness checks, and what-if scenarios. It works in both R and Python, and the Python package (dalex) ships an interactive dashboard called Arena for poking around visually.

The interesting bit

The project treats explainability as a civic right, not a feature. The authors frame three hard requirements—justifications, speculations, validations—and argue that if your model can’t answer them, it shouldn’t be deployed. That’s unusually principled for an ML tooling repo.

Key highlights

  • Wraps scikit-learn, keras, xgboost, H2O, tidymodels, mlr/mlr3, and others (via DALEXtra in R)
  • Includes a dedicated fairness module and interactive Arena dashboard in Python
  • Backed by a free e-book, Explanatory Model Analysis, that grounds the philosophy
  • Published in JMLR for both the R (2018) and Python (2021) packages
  • Part of the larger DrWhy.AI ecosystem

Caveats

  • The README is R-first; Python users must dig into a subdirectory for package-specific docs
  • “Recent developments” claim is vague—no version dates or changelog summaries in the main README

Verdict

Grab this if you need to defend or debug a black-box model to stakeholders, auditors, or your own future self. Skip it if you’re already happy with framework-native explainers and don’t cross libraries or languages.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.