From 041829a0d8b10e412a99775941f2c4e83999dd5d Mon Sep 17 00:00:00 2001 From: Piotr Date: Thu, 6 Jul 2023 15:20:18 +0200 Subject: [PATCH] switch off shap exceptions (#636) --- supervised/utils/shap.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/supervised/utils/shap.py b/supervised/utils/shap.py index 768d6e19..d7cb5d68 100644 --- a/supervised/utils/shap.py +++ b/supervised/utils/shap.py @@ -245,9 +245,10 @@ def compute( class_names, ) except Exception as e: - print( - f"Exception while producing SHAP explanations. {str(e)}\nContinuing ..." - ) + pass + #print( + # f"Exception while producing SHAP explanations. {str(e)}\nContinuing ..." + #) @staticmethod def decisions_regression(