-
Hi,
I was trying to plot dependence and force plot with SHAP.Explainer() but it fails.I am attaching the code snippet for assistance.
Please guide me how to implement this in my model,
**Code:*…
-
They only return zero for all inputs.
```python
import sys
sys.path.append("..")
from sklearn.datasets import *
data = load_iris()
X = data.data
y = data.target
X_train, X_valid, y_tra…
-
Hi, I m using DeepExplainer to interpret DQN model. Explainer worked well till we updated model to use differently scaled inputs. Now inputs are on smaller scale. So expected values scale is also lowe…
-
I have implemented a multi-class classification using GradientBoostClassifer which has 5 labels(0..4). I want to have the decision plot for a specific observations and in this case with index=2(observ…
-
I'm trying to use [sklearn's Isolation Forest ](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) to create an anomaly detection model. I want to also see the SH…
-
Hi,
The Waterfall plot example from git does not work with RandomForestRegressor and throws this error:
`Exception: waterfall_plot requires a scalar base_values of the model output as the first …
-
Hello,
I found that the first example with the ExtraTreesClassifier() doesn't work:
_"ValueError: Shape of passed values is (30, 2), indices imply (30, 30)"_
It seems the library works for reg…
-
Hi,
I am using SHAP to add some feature importance to the end of a classification model on the titanic dataset. I am using a random forest fitted to X_train_df and y_train_df and the output is pre…
-
Good evening,
I'm trying to use SHAP for my graduation thesis with various LLM, as Falcon, Mistral and GPT 4 and Llama, and i'm trying to follow the instruction with GPT-2 as in documentation but i…
-
Hi!
I am trying to plot shap_values of a DeepExplainer, and when I try to plot the shap_values given list of feature_names, and plot_type='bar' the plot is still a dot plot, and I do not get why th…