ACV is a python library that provides explanations for any machine learning model or data. It gives local rule-based explanations for any model or data and different Shapley Values for tree-based models.
Python 3.6+
Install the acv package:
The following code return the Sufficient Explanation with minimal cardinality.
Since the Minimal Sufficient Explanation may not be unique for a given instance, we…