VibeBuilders.ai Logo
VibeBuilders.ai
[P] I created a package implementing a SOTA technique for XAI ( Explainable AI)

[P] I created a package implementing a SOTA technique for XAI ( Explainable AI)

PressureDry1111
April 15, 2025
reddit

This is the package

https://github.com/mfumagalli68/xi-method

Follow the README and install directly from pypi.

From the paper:

" [..]To bridge this gap we propose a family of measures of statistical association whose definition is well-posed also for nonordered data. Our intuition is to rely on separation measurements between probability mass functions. Here, by separation measurement we mean any distance or divergence between probability mass functions that is positive, and that is null if and only if the probability mass functions coincide. Then, we show that the new class of sensitivity indices complies with Renyi’s postulate D of measures of statistical dependence (Renyi, 1959). This postulate, called zero-independence property in the following, requires that a measure of association is null if and only if the two random variables are statistically independent. We address the estimation of this new class of indicators for generic samples, and discuss their asymptotic convergence. We then use these probabilistic sensitivity measures in the context of explainability. A relevant aspect related to measures of statistical association is that they can be computed directly on the original dataset without the need of actually fitting a machine learning model. Thus, not only are they model agnostic in explaining the behavior of a black box, but they also provide pre-hoc explanations. Our intuition is then to compare explanations provided by measures of statistical association first calculated on the original data (the pre-hoc explanations) and then on the forecasts of the machine learning model fitted to the data (post-hoc explanations). This comparison provides an indication on whether the ML model predictions capture the statistical dependence originally present in the data. We call the resulting approach Xi-method[...] "

The paper can't be shared freely, but as always with a little bit of research you can find it online.

If you find it interesting, star the repo.

Thanks

Vibe Score

LLM Vibe Score

0

Sentiment

Human Vibe Score

0

Rate this Resource

Join the VibeBuilders.ai Newsletter

The newsletter helps digital entrepreneurs how to harness AI to build your own assets for your funnel & ecosystem without bloating your subscription costs.

Start the free 5-day AI Captain's Command Line Bootcamp when you sign up:

By subscribing, you agree to our Privacy Policy and Terms of Service.