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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = explainer(X_test).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
+ shap_interaction_values = shap_values.interactions(X_test)
44
  shap.summary_plot(shap_interaction_values, X_test)