Mercury's explainability is a library with implementations of different state-of-the-art methods in the field of explainability
Project description
mercury-explainability
mercury-explainability is a library with implementations of different state-of-the-art methods in the field of explainability. They are designed to work efficiently and to be easily integrated with the main Machine Learning frameworks.
Mercury project at BBVA
Mercury is a collaborative library that was developed by the Advanced Analytics community at BBVA. Originally, it was created as an InnerSource project but after some time, we decided to release certain parts of the project as Open Source.
That's the case with the mercury-explainability
package.
The basic block of mercury-explainability is the Explainer
class. Each one of the explainers in mercury-explainability offers a different method for explaining your models and often will return an Explanation
type object containing the result of that particular explainer.
The usage of most of the explainers you will find in this library follows this schema:
from mercury.explainability import ExplainerExample
explainer = ExplainerExample(function_to_explain)
explanation = explainer.explain(dataset)
Basically, you simply need to instantiate your desired Explainer
(note that the above example ExplainerExample
does not exist)
providing your custom function you desire to get an explanation for, which usually will be your model’s inference or evaluation function.
These explainers are ready to work efficiently with most of the frameworks you will likely use as a data scientist (yes, included Spark).
If you're interested in learning more about the Mercury project, we recommend reading this blog post from www.bbvaaifactory.com
User installation
The easiest way to install mercury-explainability
is using pip
:
pip install -U mercury-explainability
Help and support
This library is currently maintained by a dedicated team of data scientists and machine learning engineers from BBVA.
Documentation
website: https://bbva.github.io/mercury-explainability/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mercury-explainability-0.0.3.tar.gz
.
File metadata
- Download URL: mercury-explainability-0.0.3.tar.gz
- Upload date:
- Size: 52.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e511968d33ae0ef7095e4ddbfae91314323d4f2814249f85cba0e696dc35bc22 |
|
MD5 | dac2d22eb360b2e38b61f2cd734beed0 |
|
BLAKE2b-256 | 2527463de9b76715fb6a88460f26a7bac63eb96b946ee8aebccb8787ecac02cf |