Update my_pages/multiverse.py
Browse files- my_pages/multiverse.py +10 -6
my_pages/multiverse.py
CHANGED
|
@@ -122,6 +122,7 @@ def render():
|
|
| 122 |
add_instruction_text(
|
| 123 |
"""
|
| 124 |
Visually explore the multiverse of AI models to judge loan applications.<br>
|
|
|
|
| 125 |
Make a choice, and scroll down to see the properties of the trained model.
|
| 126 |
"""
|
| 127 |
)
|
|
@@ -310,10 +311,13 @@ def render():
|
|
| 310 |
uniq_count_acc = np.sum(condition_acc)
|
| 311 |
|
| 312 |
add_red_text(f"""
|
| 313 |
-
<b>Multiplicity of your predictions:</b>
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
|
|
|
|
|
|
|
|
|
| 319 |
""")
|
|
|
|
| 122 |
add_instruction_text(
|
| 123 |
"""
|
| 124 |
Visually explore the multiverse of AI models to judge loan applications.<br>
|
| 125 |
+
We are using a publicly available loan approval dataset.<br>
|
| 126 |
Make a choice, and scroll down to see the properties of the trained model.
|
| 127 |
"""
|
| 128 |
)
|
|
|
|
| 311 |
uniq_count_acc = np.sum(condition_acc)
|
| 312 |
|
| 313 |
add_red_text(f"""
|
| 314 |
+
<b>Multiplicity of your predictions:</b><br>
|
| 315 |
+
Number of loans accepted by the majority, but rejected by you: {uniq_count_rej}<br>
|
| 316 |
+
Number of loans rejected by the majority, but accepted by you: {uniq_count_acc}<br><br>
|
| 317 |
+
<b>Reasons you might want lower multiplicity:</b><br>
|
| 318 |
+
To take lower risks and to avoid facing a justification crisis, i.e.,
|
| 319 |
+
not able to explain why you rejected an applicant who would have been accepted by most other models.<br><br>
|
| 320 |
+
<b>Reasons you might want higher multiplicity:</b><br>
|
| 321 |
+
To avoid competiting for the same loan applicants with others.<br>
|
| 322 |
+
To give a chance to unique applicants and deal with the concerns of homogenization.<br><br>
|
| 323 |
""")
|