-
Hi I have tried running the below script initially on my jupyetr notebook and ran without any errors:
background = X_train[np.random.choice(X_train.shape[0], 10, replace=False)]
# explain predic…
-
> Here is a simple code -
> from sklearn.metrics import accuracy_score, roc_auc_score, confusion_matrix
>
> params = {'metric' : 'auc',
> 'boosting_type' : 'gbdt',
> 'colsam…
-
I am trying to make a summary plot using KernelExplainer with TFIDFVectorizer as feature extractor for text classifiation. I am trying to obtain the summary plot as follows:
`x_train, x_test, y_trai…
-
Hi,
Is there an option or Hack to use Shap for CrossEncoder ?
Like this [example](https://shap.readthedocs.io/en/latest/example_notebooks/text_examples/sentiment_analysis/Emotion%20classification%20…
-
```
OS: Windows 10
Python version: 3.6.3
shap version: 0.33.0
sklearn version: 0.22
numpy version: 1.17.4
scipy version: 1.3.0
```
Here is a fully reproducible example:
```python
import …
-
hi, I want to run some python libraries on tee, including pytorch/lgbm/pandas/flask/tensorflow/sklearn/shap/matplotlib, is it possible to run these libraries based on libos, is there any guides? Than…
-
Metrics
* Accuracy
* Balanced accuracy
Tools for explainability:
* print out of tree decisions (limited depth is best)
* software - lime
* software SHAP
* software pdp box
-
Hi,
I am running the following code:
`x.shape # (8742, 3205)
x_t.shape # (972, 3205)
explainer = shap.DeepExplainer(model, x[1:10])
shap_values = explainer.shap_values(x_t[1:10])
`
x a…
-
It would be very great to be able to save a plot produced in summary_plot function.
-
I'm getting the following error when i executed the TreeExplainer, could you help on this.
clf = Pipeline(steps=[('preprocessor', transformations),
('classifier', RandomFore…