Open ombhojane opened 1 month ago
I would like to request this issue to be assigned to me. However, I’m having difficulty locating where to add support for TensorFlow models in the XAI package. Could you please provide guidance on which files or modules I should focus on? Thank you!
Please assign this issue to me i would like to work upon this.My approach:1.Adding Tensorflow model 2.Check all visualisations 3.Do all necessary calculations
hello @ombhojane i saw some problems in the model and i would like to work on it
During the development of this project, several issues were encountered. Below are the problems along with their causes and the solutions implemented to address them.
TreeExplainer
from the SHAP library does not support the MLPClassifier
(neural networks).DeepExplainer
for neural networks instead of TreeExplainer
. Alternatively, models not supported by TreeExplainer
were excluded when calculating SHAP values. This ensured that the explainability analysis was accurate and applicable to each model type.Thank you all for your interest in this issue! This is an important enhancement that requires careful planning. Let me provide some guidance:
The main files you'll need to modify are:
core.py
- Update XAIWrapper to handle TensorFlow modelsmodel_interpretability.py
- Adapt SHAP calculations for TF modelsutils.py
- Extend utility functions to support TF modelsWould you like to share your experience with TensorFlow and model interpretability? This will help me assign the issue to the best-suited contributor.
okayy @Sakeebhasan123456 go ahead
Hi @ombhojane i am trying to solve this problem please check also add a pull request
Hello @ombhojane I would like to contribute to this project.
Add support for TensorFlow models in our XAI package. Currently, we only support scikit-learn models.
Approach
Testing