Classification, Catboost, Fastapi, Docker, Streamlit.
display_shap_waterfall_plot(explainer, expected_value, shap_values, feature_names, max_display=20): # Create SHAP waterfall drawing fig, ax = plt.subplots(figsize=(6, 6), dpi=150) shap.plots._waterfall.waterfall_legacy(expected_value, shap_values, feature_names=feature_names,