dvj4 commited on
Commit
1cf5d5c
·
1 Parent(s): b1fa5fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,5 +40,5 @@ st.write(f"The estimated house price range is ${prediction[0]:,.2f}")
40
  explainer = shap.Explainer(model)
41
  shap_values = explainer(X_test)
42
  shap.summary_plot(shap_values, X_test)
43
- shap_interaction_values = shap_values.interactions(X_test)
44
- shap.summary_plot(shap_interaction_values, X_test)
 
40
  explainer = shap.Explainer(model)
41
  shap_values = explainer(X_test)
42
  shap.summary_plot(shap_values, X_test)
43
+
44
+ shap_interaction_values = explainer.interaction_plot(X_test)