Update my_pages/multiverse.py
Browse files- my_pages/multiverse.py +6 -11
my_pages/multiverse.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# pages/multiverse.py
|
| 2 |
import streamlit as st
|
| 3 |
import plotly.graph_objects as go
|
| 4 |
-
from utils import add_navigation
|
| 5 |
|
| 6 |
import random
|
| 7 |
import pandas as pd
|
|
@@ -113,19 +113,14 @@ def build_tree_and_trace_path(selected_path, spread_factor=10000):
|
|
| 113 |
|
| 114 |
def render():
|
| 115 |
add_navigation("txt_multiverse", "conclusion")
|
| 116 |
-
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
| 118 |
"""
|
| 119 |
-
<div style='text-align: center; font-size:18px; color:gray;'>
|
| 120 |
-
Consider data about individuals who either paid their loans (green) or defaulted (red). <br>
|
| 121 |
-
Which model out of the two will you choose to give loan applications? <br>
|
| 122 |
-
</div>
|
| 123 |
-
""",
|
| 124 |
-
unsafe_allow_html=True
|
| 125 |
)
|
| 126 |
|
| 127 |
-
st.markdown("---")
|
| 128 |
-
|
| 129 |
# --- User picks one choice per stage via dropdowns ---
|
| 130 |
selected_path = []
|
| 131 |
for stage in choices_list:
|
|
|
|
| 1 |
# pages/multiverse.py
|
| 2 |
import streamlit as st
|
| 3 |
import plotly.graph_objects as go
|
| 4 |
+
from utils import add_navigation, add_instruction_text
|
| 5 |
|
| 6 |
import random
|
| 7 |
import pandas as pd
|
|
|
|
| 113 |
|
| 114 |
def render():
|
| 115 |
add_navigation("txt_multiverse", "conclusion")
|
| 116 |
+
|
| 117 |
+
add_instruction_text(
|
| 118 |
+
"""
|
| 119 |
+
Explore the multiverse of models visually.<br>
|
| 120 |
+
Make a choice, and the corresponding model will be trained for you.
|
| 121 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
)
|
| 123 |
|
|
|
|
|
|
|
| 124 |
# --- User picks one choice per stage via dropdowns ---
|
| 125 |
selected_path = []
|
| 126 |
for stage in choices_list:
|