Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
| 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)
|