This commit is contained in:
Jesselyn Mu
2025-01-30 21:13:30 +07:00
parent faba457ce6
commit 9364ae07aa

View File

@ -428,7 +428,7 @@ def show_prediction():
plot_placeholder = st.empty()
# Modify the generate_shap_plot function
def generate_shap_plot(X_test_class, explainer_class):
def generate_shap_plot(X_test_class, explainer_class, shap_dict, predicted_class):
plt.close('all')
try: