Update my_pages/home.py
Browse files- my_pages/home.py +7 -9
my_pages/home.py
CHANGED
|
@@ -12,12 +12,9 @@ def render():
|
|
| 12 |
padding: 0!important;
|
| 13 |
margin: 0!important;
|
| 14 |
text-decoration: none;
|
| 15 |
-
text-align: justify!important;
|
| 16 |
cursor: pointer;
|
| 17 |
border: none !important;
|
| 18 |
display: inline!important;
|
| 19 |
-
font-size: 30px;
|
| 20 |
-
font-weight: bold;
|
| 21 |
}
|
| 22 |
button[kind="primary"]:hover {
|
| 23 |
text-decoration: underline;
|
|
@@ -29,8 +26,9 @@ def render():
|
|
| 29 |
color: #3366cc !important;
|
| 30 |
}
|
| 31 |
button[kind="primary"] span {
|
| 32 |
-
font-size:
|
| 33 |
font-weight: bold !important;
|
|
|
|
| 34 |
}
|
| 35 |
</style>
|
| 36 |
""",
|
|
@@ -39,11 +37,11 @@ def render():
|
|
| 39 |
|
| 40 |
sentences = [
|
| 41 |
(["Translating the real world into concrete data", "can result in information loss."], "information_loss"),
|
| 42 |
-
(["This leaves room for multiple interpretations", "of the data (Rashomon effect),
|
| 43 |
-
(["Model development involves countless decisions,", "many of which directly impact
|
| 44 |
-
(["Under
|
| 45 |
-
(["
|
| 46 |
-
"and arbitrary decisions
|
| 47 |
]
|
| 48 |
color_dict = {"information_loss": "#FF6B6B", "rashomon_effect": "#FFD93D", "developer_decisions": "#6BCB77", "ica": "#FF9F1C", "multiverse": "#9D4EDD"}
|
| 49 |
|
|
|
|
| 12 |
padding: 0!important;
|
| 13 |
margin: 0!important;
|
| 14 |
text-decoration: none;
|
|
|
|
| 15 |
cursor: pointer;
|
| 16 |
border: none !important;
|
| 17 |
display: inline!important;
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
button[kind="primary"]:hover {
|
| 20 |
text-decoration: underline;
|
|
|
|
| 26 |
color: #3366cc !important;
|
| 27 |
}
|
| 28 |
button[kind="primary"] span {
|
| 29 |
+
font-size: 35px !important;
|
| 30 |
font-weight: bold !important;
|
| 31 |
+
text-align: justify!important;
|
| 32 |
}
|
| 33 |
</style>
|
| 34 |
""",
|
|
|
|
| 37 |
|
| 38 |
sentences = [
|
| 39 |
(["Translating the real world into concrete data", "can result in information loss."], "information_loss"),
|
| 40 |
+
(["This leaves room for multiple interpretations", "of the data (Rashomon effect), thus leading", "to conflicting predictions (Multiplicity)."], "rashomon_effect"),
|
| 41 |
+
(["Model development involves countless decisions,", "many of which directly impact the eventual", "interpretation being chosen."], "developer_decisions"),
|
| 42 |
+
(["Under intention-convention-arbitrariness (ICA) framework,"], "ica"),
|
| 43 |
+
(["intentional decisions help improve model properties,", "conventional decisions lead to homogenization,",
|
| 44 |
+
"and arbitrary decisions create conflicting predictions."], "multiverse"),
|
| 45 |
]
|
| 46 |
color_dict = {"information_loss": "#FF6B6B", "rashomon_effect": "#FFD93D", "developer_decisions": "#6BCB77", "ica": "#FF9F1C", "multiverse": "#9D4EDD"}
|
| 47 |
|