cnasa commited on
Commit
7038ecf
·
1 Parent(s): 7cf5b1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -167,14 +167,20 @@ def prepare_user_df(user_data,num_trans,col_trans):
167
  st.title("Machine Learning Demo :")
168
  st.header("Prédiction de la santé d'un patient concernant le diabète")
169
 
 
 
 
 
 
 
 
 
170
 
171
- st.subheader("Matrice de corrélation sur les données dédoublonnées")
172
- img_path = "corr_matrix.PNG"
173
- st.image(img_path)
174
 
175
- st.subheader("La courbe ROC associée au model de RandomForest choisi")
176
- img_path_roc = "ROC_Model_RF.PNG"
177
- st.image(img_path_roc)
 
178
 
179
 
180
 
 
167
  st.title("Machine Learning Demo :")
168
  st.header("Prédiction de la santé d'un patient concernant le diabète")
169
 
170
+ col1, col2 = st.columns(2)
171
+
172
+ with col1:
173
+ st.subheader("Matrice de corrélation sur les données dédoublonnées")
174
+ img_path = "corr_matrix.PNG"
175
+ st.image(img_path)
176
+
177
+
178
 
 
 
 
179
 
180
+ with col2:
181
+ st.subheader("La courbe ROC associée au model de RandomForest choisi")
182
+ img_path_roc = "ROC_Model_RF.PNG"
183
+ st.image(img_path_roc)
184
 
185
 
186