Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 2.71 KB

README.md

File metadata and controls

75 lines (57 loc) · 2.71 KB

Explainable AI using SHAP & CXPlain

About

Project Flow

  • A ML model is trained on a tabular dataset for binary classification task
  • Using this trained model, feature importance for the input features are calculated with the help of CXPlain and SHAP model interpretation library
  • Results are compared quantitatively.

Requirements

  • cxplain 1.0.3
  • shap 0.37.0
  • pycaret 2.3.0
  • tensorflow 2.4.1
  • plotly 4.14.3

Installation procedure

pip install cxplain
pip install shap
pip install pycaret
pip install tensorflow
pip install plotly

Results

Light Gradient Boosting Machine Classification Report

alt text

Light Gradient Boosting Machine Confusion Matrix

alt text

Relative importance of features using SHAP

alt text alt text

How a particular feature affects a prediction:

alt text

Relative importance of features using CXPlain

alt text

Team members