sourize commited on
Commit
9630790
·
1 Parent(s): f097db9

Updated UI

Browse files
Files changed (1) hide show
  1. app.py +4 -27
app.py CHANGED
@@ -321,36 +321,13 @@ elif page == "📊 Model Analytics":
321
  col1, col2, col3, col4 = st.columns(4)
322
 
323
  with col1:
324
- st.markdown("""
325
- <div class="metric-card">
326
- <h3>ROC AUC</h3>
327
- <h2>0.752</h2>
328
- </div>
329
- """, unsafe_allow_html=True)
330
-
331
  with col2:
332
- st.markdown("""
333
- <div class="metric-card">
334
- <h3>Precision</h3>
335
- <h2>0.19</h2>
336
- </div>
337
- """, unsafe_allow_html=True)
338
-
339
  with col3:
340
- st.markdown("""
341
- <div class="metric-card">
342
- <h3>Recall</h3>
343
- <h2>0.58</h2>
344
- </div>
345
- """, unsafe_allow_html=True)
346
-
347
  with col4:
348
- st.markdown("""
349
- <div class="metric-card">
350
- <h3>F1-Score</h3>
351
- <h2>0.29</h2>
352
- </div>
353
- """, unsafe_allow_html=True)
354
 
355
  # Feature Importance
356
  st.markdown('<h2 class="sub-header">🔍 Global Feature Importance</h2>', unsafe_allow_html=True)
 
321
  col1, col2, col3, col4 = st.columns(4)
322
 
323
  with col1:
324
+ st.metric(label="ROC AUC", value="0.752")
 
 
 
 
 
 
325
  with col2:
326
+ st.metric(label="Precision", value="0.19")
 
 
 
 
 
 
327
  with col3:
328
+ st.metric(label="Recall", value="0.58")
 
 
 
 
 
 
329
  with col4:
330
+ st.metric(label="F1-Score", value="0.29")
 
 
 
 
 
331
 
332
  # Feature Importance
333
  st.markdown('<h2 class="sub-header">🔍 Global Feature Importance</h2>', unsafe_allow_html=True)