YoneSlapWind80085 commited on
Commit
0acf091
·
verified ·
1 Parent(s): e7e45cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -219,7 +219,7 @@ if show_regression and selected_feature in X.columns and selected_target == 'Med
219
  line = model_feature.predict(X_feature)
220
  ax.plot(df[selected_feature], line, color='red', linewidth=2)
221
 
222
- st.pyplot(fig)
223
 
224
  # Prediction
225
  st.subheader('Predict Median House Value')
 
219
  line = model_feature.predict(X_feature)
220
  ax.plot(df[selected_feature], line, color='red', linewidth=2)
221
 
222
+ st.pyplot(residuals)
223
 
224
  # Prediction
225
  st.subheader('Predict Median House Value')