Spaces:
Build error
Build error
LethallyHealthy
commited on
Commit
·
5658180
1
Parent(s):
a428eda
Update app.py
Browse files
app.py
CHANGED
@@ -51,9 +51,9 @@ def st_shap(plot, height=None):
|
|
51 |
if st.button("Calculate Your House Price!"):
|
52 |
results = predictor.make_a_prediction(data)
|
53 |
st.write('{0:.2f}'.format(results[0]))
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
|
58 |
|
59 |
|
|
|
51 |
if st.button("Calculate Your House Price!"):
|
52 |
results = predictor.make_a_prediction(data)
|
53 |
st.write('{0:.2f}'.format(results[0]))
|
54 |
+
force_plot = predictor.create_shap_models(data)
|
55 |
+
st_shap(force_plot)
|
56 |
+
|
57 |
|
58 |
|
59 |
|