Results 10 comments of Dario Bernardo

Hi, I have created a `GradientExplainer`. What is the best way to save this explainer? thank you.

Hi @cbeauhilton , thank you so much for your answer. Where did you find the documentation? I looked [here](https://shap.readthedocs.io/en/latest/), and I couldn't find anything about GradientExplainer, serialisation or saving models....

Hi @cbeauhilton , thanks for helping out. Unfortunately both pickle and h5 don't work. Here is my code: ``` layer_number = 11 e = shap.GradientExplainer( (model.layers[layer_number].input, model.layers[-1].output), map2layer(test_data[1:20], layer_number), local_smoothing=0...

I am trying to avoid to recreate the GradientExplainer every time I need to get shap values and indexes. I am using this within an application, not a jupyther notebook....

Hi @cbeauhilton , yes I do need the GradientExplainer itself. I have a script that loads a keras model, run classification and return the classification. I want to run along...

how important it is to have a large number of training examples when building the GradientExplainer? More data, more accurate explanation? Does this impact the amount of memory used? I...

Hi @slundberg , thank you for your answer. Here is to your points. 1 - Tensorflow 2 - shap==0.29.1 4 - If I understand correctly, I can reduce the `batch_size`...

Hi @philmassie , no unfortunately didn't find a solution to this problem. I agree, as suggested in the linked discussion you can pickle the model, but it's different form saving...

Hi @christinestraub thank you for looking into my issue, no unfortunately I can't share the document, but I am sure the issue is replicable with most greek documents. Something I...

I'd like to provide some additional context regarding the issue. I searched online for publicly available PDF documents that could help replicate the problem. I've confirmed that the issue arises...