Classification, Catboost, Fastapi, Docker, Streamlit.
explainer.shap_values(X_train) shap_values_cat_test = explainer.shap_values(X_test) return explainer, shap_values_cat_train, shap_values_cat_test def plot_shap_values(model, explainer, shap_values_cat_train, shap_values_cat_test, customer_id, X_test, X_train): # Visualize SHAP values for a specific