Update my_pages/ica.py
Browse files- my_pages/ica.py +5 -11
my_pages/ica.py
CHANGED
|
@@ -1,25 +1,19 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
-
from utils import add_navigation
|
| 5 |
|
| 6 |
plt.style.use('dark_background')
|
| 7 |
|
| 8 |
def render():
|
| 9 |
add_navigation("txt_ica", "txt_multiverse")
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
"""
|
| 13 |
-
<div style='text-align: center; font-size:18px; color:gray;'>
|
| 14 |
-
Developers make a huge number of decisions when designing ML models. <br>
|
| 15 |
-
Dive into some examples below to get a feel of how model design works. <br>
|
| 16 |
-
</div>
|
| 17 |
-
""",
|
| 18 |
-
unsafe_allow_html=True
|
| 19 |
)
|
| 20 |
|
| 21 |
-
st.markdown("---")
|
| 22 |
-
|
| 23 |
if "weights" not in st.session_state:
|
| 24 |
st.session_state.weights = {
|
| 25 |
"Intentional": 0.33,
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
+
from utils import add_navigation, add_instruction_text
|
| 5 |
|
| 6 |
plt.style.use('dark_background')
|
| 7 |
|
| 8 |
def render():
|
| 9 |
add_navigation("txt_ica", "txt_multiverse")
|
| 10 |
+
|
| 11 |
+
add_instruction_text(
|
| 12 |
+
"""
|
| 13 |
+
Explore the intention-convention-arbitrariness (ICA) framework by uncovering various examples.
|
| 14 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
)
|
| 16 |
|
|
|
|
|
|
|
| 17 |
if "weights" not in st.session_state:
|
| 18 |
st.session_state.weights = {
|
| 19 |
"Intentional": 0.33,
|