prakharg24 commited on
Commit
9ca7fce
·
verified ·
1 Parent(s): 1b5de32

Update my_pages/rashomon_effect.py

Browse files
Files changed (1) hide show
  1. my_pages/rashomon_effect.py +6 -8
my_pages/rashomon_effect.py CHANGED
@@ -56,11 +56,10 @@ def render():
56
  )
57
 
58
  #### Rashomon Set Definition
59
- rashomon_set_message =
60
- """
61
  The existence of multiple models that achieve similar accuracy, i.e., multiple interpretations of the data, is known as the Rashomon effect.
62
  We call the models below part of a 'Rashomon set'.
63
- """
64
  st.markdown(
65
  f"<div style='text-align:center; color:#c0392b; font-size:20px; font-weight:bold; margin:14px 0;'>{rashomon_set_message}</div>",
66
  unsafe_allow_html=True,
@@ -115,11 +114,10 @@ def render():
115
 
116
  #### Multiplicity Definition
117
  if "graph_selected" in st.session_state:
118
- multiplicity_message =
119
- """
120
- Depending on the model choice, notice the highlighted individual who doesn't get loan, but would have gotten loan under a different model.
121
- These conflicting predictions are called multiplicity.<br><br>
122
- Clearly, the choice of model directly impacts individuals!
123
  """
124
  st.markdown(
125
  f"<div style='text-align:center; color:#c0392b; font-size:20px; margin:14px 0;'>{multiplicity_message}</div>",
 
56
  )
57
 
58
  #### Rashomon Set Definition
59
+ rashomon_set_message = """
 
60
  The existence of multiple models that achieve similar accuracy, i.e., multiple interpretations of the data, is known as the Rashomon effect.
61
  We call the models below part of a 'Rashomon set'.
62
+ """
63
  st.markdown(
64
  f"<div style='text-align:center; color:#c0392b; font-size:20px; font-weight:bold; margin:14px 0;'>{rashomon_set_message}</div>",
65
  unsafe_allow_html=True,
 
114
 
115
  #### Multiplicity Definition
116
  if "graph_selected" in st.session_state:
117
+ multiplicity_message = """
118
+ Depending on the model choice, notice the highlighted individual who doesn't get loan, but would have gotten loan under a different model.
119
+ These conflicting predictions are called multiplicity.<br><br>
120
+ Clearly, the choice of model directly impacts individuals!
 
121
  """
122
  st.markdown(
123
  f"<div style='text-align:center; color:#c0392b; font-size:20px; margin:14px 0;'>{multiplicity_message}</div>",