Classification, Catboost, Fastapi, Docker, Streamlit.
def display_shap_summary(shap_values_cat_train, X_train): # Create the plot summarizing the SHAP values shap.summary_plot(shap_values_cat_train, X_train, plot_type="bar", plot_size=(12,12)) summary_fig, _ = plt.gcf(), plt.gca() st.pyplot(summary_fig) plt.close() def