Update my_pages/multiverse.py
Browse files- my_pages/multiverse.py +4 -4
my_pages/multiverse.py
CHANGED
|
@@ -123,7 +123,8 @@ def render():
|
|
| 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 |
)
|
| 129 |
|
|
@@ -311,13 +312,12 @@ def render():
|
|
| 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
|
| 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
|
| 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 |
""")
|
|
|
|
| 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.<br>
|
| 127 |
+
Not sure what choice to make? Just pick something to see what happens.
|
| 128 |
"""
|
| 129 |
)
|
| 130 |
|
|
|
|
| 312 |
uniq_count_acc = np.sum(condition_acc)
|
| 313 |
|
| 314 |
add_red_text(f"""
|
|
|
|
| 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 to conform:</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 to be unique:</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 |
""")
|