dperales commited on
Commit
4d17a95
1 Parent(s): bd9c9a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -103,6 +103,7 @@ def main():
103
 
104
  all_columns = insurance_claims_reduced.columns.tolist()
105
  selected_columns = st.multiselect("Choose columns", all_columns, default=all_columns)
 
106
 
107
  st.header("Inference Description")
108
  insurance_claims_reduced.describe().T
@@ -124,7 +125,7 @@ def main():
124
  st.pyplot(fig)
125
 
126
  if st.button("Prediction"):
127
- insurance_claims_reduced = insurance_claims_reduced[selected_columns].copy()
128
 
129
  s = setup(insurance_claims_reduced, session_id = 123, remove_multicollinearity=p_remove_multicollinearity, multicollinearity_threshold=p_multicollinearity_threshold,
130
  # remove_outliers=p_remove_outliers, outliers_method=p_outliers_method,
 
103
 
104
  all_columns = insurance_claims_reduced.columns.tolist()
105
  selected_columns = st.multiselect("Choose columns", all_columns, default=all_columns)
106
+ insurance_claims_reduced = insurance_claims_reduced[selected_columns].copy()
107
 
108
  st.header("Inference Description")
109
  insurance_claims_reduced.describe().T
 
125
  st.pyplot(fig)
126
 
127
  if st.button("Prediction"):
128
+ #insurance_claims_reduced = insurance_claims_reduced[selected_columns].copy()
129
 
130
  s = setup(insurance_claims_reduced, session_id = 123, remove_multicollinearity=p_remove_multicollinearity, multicollinearity_threshold=p_multicollinearity_threshold,
131
  # remove_outliers=p_remove_outliers, outliers_method=p_outliers_method,