Skip to content

Feature assessment and importance of Machine Learning Models using SHAP and CXPlain libraries

Notifications You must be signed in to change notification settings

sachdevkartik/ExplainableAI

Repository files navigation

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

About

Feature assessment and importance of Machine Learning Models using SHAP and CXPlain libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published