Update my_pages/ica.py
Browse files- my_pages/ica.py +20 -1
my_pages/ica.py
CHANGED
|
@@ -4,7 +4,17 @@ import numpy as np
|
|
| 4 |
from utils import go_to
|
| 5 |
|
| 6 |
def render():
|
| 7 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
if "weights" not in st.session_state:
|
| 10 |
st.session_state.weights = {
|
|
@@ -83,3 +93,12 @@ def render():
|
|
| 83 |
st.info("Example: Ethical constraints — a fully intentional choice.")
|
| 84 |
elif closest == "Conventional":
|
| 85 |
st.info("Example: Industry standard preprocessing — a conventional decision.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
from utils import go_to
|
| 5 |
|
| 6 |
def render():
|
| 7 |
+
st.markdown(
|
| 8 |
+
"""
|
| 9 |
+
<div style='text-align: center; font-size:18px; color:gray;'>
|
| 10 |
+
Developers make a huge number of decisions when designing ML models. <br>
|
| 11 |
+
Dive into some examples below to get a feel of how model design works. <br>
|
| 12 |
+
</div>
|
| 13 |
+
""",
|
| 14 |
+
unsafe_allow_html=True
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
st.markdown("---")
|
| 18 |
|
| 19 |
if "weights" not in st.session_state:
|
| 20 |
st.session_state.weights = {
|
|
|
|
| 93 |
st.info("Example: Ethical constraints — a fully intentional choice.")
|
| 94 |
elif closest == "Conventional":
|
| 95 |
st.info("Example: Industry standard preprocessing — a conventional decision.")
|
| 96 |
+
|
| 97 |
+
st.markdown("---")
|
| 98 |
+
col1, col2, col3, col4 = st.columns([2, 1, 1, 1])
|
| 99 |
+
with col3:
|
| 100 |
+
if st.button("Go Home"):
|
| 101 |
+
go_to("home")
|
| 102 |
+
with col4:
|
| 103 |
+
if st.button("Next"):
|
| 104 |
+
go_to("multiverse")
|