sree4411 commited on
Commit
afe8b39
·
verified ·
1 Parent(s): b19700a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -23,16 +23,17 @@ with tab1:
23
  - **False Positive (FP)**: Model predicted Positive but it was actually Negative (Type I Error)
24
  - **False Negative (FN)**: Model predicted Negative but it was actually Positive (Type II Error)
25
  """)
26
- st.markdown(
27
  """
28
- <div style="text-align: center;">
29
- <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Precisionrecall.svg/1200px-Precisionrecall.svg.png" width="100"/>
30
  <p><i>TP, FP, TN, FN Overview</i></p>
31
  </div>
32
  """,
33
  unsafe_allow_html=True
34
  )
35
 
 
36
  with st.expander("🎯 Accuracy"):
37
  st.latex(r"Accuracy = \frac{TP + TN}{TP + TN + FP + FN}")
38
  st.markdown("**How often the model is correct overall.**")
 
23
  - **False Positive (FP)**: Model predicted Positive but it was actually Negative (Type I Error)
24
  - **False Negative (FN)**: Model predicted Negative but it was actually Positive (Type II Error)
25
  """)
26
+ st.markdown(
27
  """
28
+ <div style='text-align: center;'>
29
+ <img src='https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Precisionrecall.svg/1200px-Precisionrecall.svg.png' width='200' height='180'>
30
  <p><i>TP, FP, TN, FN Overview</i></p>
31
  </div>
32
  """,
33
  unsafe_allow_html=True
34
  )
35
 
36
+
37
  with st.expander("🎯 Accuracy"):
38
  st.latex(r"Accuracy = \frac{TP + TN}{TP + TN + FP + FN}")
39
  st.markdown("**How often the model is correct overall.**")