ayethuzar commited on
Commit
ed792be
·
unverified ·
1 Parent(s): 36c83fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -105,7 +105,12 @@ data_df = {
105
 
106
  data_df = pd.DataFrame.from_dict(data_df)
107
 
 
108
  st.write(data_df.head())
 
 
 
 
109
  st.write(data_df.values)
110
 
111
  y_pred_base = lgbm_base.predict(data_df)
 
105
 
106
  data_df = pd.DataFrame.from_dict(data_df)
107
 
108
+ st.write("Please adjust the feature values using the slides on the left: ")
109
  st.write(data_df.head())
110
+
111
+ # normalizing the data
112
+ data_df = (data_df.values - data_df.values.min()) / (data_df.values.max() - data_df.values.min())
113
+
114
  st.write(data_df.values)
115
 
116
  y_pred_base = lgbm_base.predict(data_df)