diff --git a/shapash/backend/shap_backend.py b/shapash/backend/shap_backend.py index c30c237c..ec6867af 100644 --- a/shapash/backend/shap_backend.py +++ b/shapash/backend/shap_backend.py @@ -37,7 +37,7 @@ def __init__(self, model, preprocessing=None, masker=None, explainer_args=None, self.explainer = shap.Explainer(model=model.predict, masker=self.masker) # if we get here then we don't know how to handle what was given to us else: - raise ValueError("The passed model is not callable and cannot be analyzed directly with the given masker! Model: " + str(model)) + raise ValueError("The model is not recognized by Shapash! Model: " + str(model)) def run_explainer(self, x: pd.DataFrame) -> dict: