Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
1 answer
169 views

I am following the documentation of the shapr package (version 1.0.5) to use parallelization, but whatever number of "workers" I specify, future always uses all available processor cores. ...
cdalitz's user avatar
  • 1,371
0 votes
0 answers
61 views

I wrote a code for SHAP on images. It was working for two days, then it brought following error : module 'shap' has no attribute 'DeepExplainer' I uninstalled and installed the SHAP module again and ...
2 votes
2 answers
90 views

I am sorry to ask this question again (first attempt here: shapvix sv_dependence color_var based on same feature), but it was closed because not enough details were provided. Below is an updated ...
kris's user avatar
  • 187
2 votes
1 answer
121 views

I have a machine learning model and I calculated SHAP on it using following code: import shap background = shap.kmeans(X_dev, k=100) explainer = shap.TreeExplainer(model, feature_perturbation="...
0 votes
0 answers
77 views

I'm encountering an issue when applying SHAP (SHapley Additive exPlanations) to my model predictions. Specifically, when I use shap.TreeExplainer with a RandomForestClassifier, I get the following ...
0 votes
0 answers
130 views

I am trying to obtain the SHAP values of a Random Forest model for binary classification, trained in Python. I am using the following code: final_model = RandomForestClassifier(random_state=42, **...
-2 votes
1 answer
209 views

I am currently working on a project that needs me to calculate the Shapley values of players that enter into a coalition. I've written up the value function, but was wondering if there was a way to ...
Trev's user avatar
  • 21
1 vote
2 answers
372 views

I am running the demo code provided here. But I do not get the same plots with the nice coloring and highlights. Here is how it looks like in the source notebook: Here is how mine looks like I am ...
SaTa's user avatar
  • 2,800
0 votes
0 answers
29 views

I'm having a lot issues implementing shap plot for my SGC model. Any one experienced the problem the same problem ,can give an example. The problem is that there are a lot errors when try shap with ...
0 votes
1 answer
405 views

Im running a random forest model and to get some feature importance and Im trying to run a SHAP analysis. The problem is that every time I try to plot the shap values, I keep getting this error: ...
0 votes
1 answer
183 views

I am trying to explain my xgboost (v 2.1.1) model with shap (v 0.42) but I get this error: UnicodeDecodeError Traceback (most recent call last) Cell In[53], line 1 ----> 1 ...
0 votes
0 answers
50 views

I have written this code to measure SHAP values and plot feature importance. However, I got an error when plotting the shape values. I used the gen_GRU_model_179.h5 generated model, my model expects a ...
0 votes
0 answers
21 views

I am doing XAI for the input occluded image using a pretrained ArcFace model to find the occluded area of the image and plot the PLQ map. Here for XAI, I have used shap library in python. I have using ...
Saran Babu's user avatar
1 vote
0 answers
184 views

Before one-hot encoding, the input data consists of 2 categorical columns (category1, category2). category1 is among A,B,C and category2 is among X,Y. After the one-hot encoding, the input data ...
Hyunjik Bae's user avatar
  • 2,969
1 vote
2 answers
124 views

I am attempting to utilize the Treeshap package to calculate SHAP values. However, I encountered an error when trying to apply it to models created using the mlr3 framework. Specifically, I am unsure ...
gen linlin's user avatar

15 30 50 per page
1
2 3 4 5
...
33

AltStyle によって変換されたページ (->オリジナル) /