Update my_pages/information_loss.py
Browse files- my_pages/information_loss.py +8 -13
my_pages/information_loss.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import pandas as pd
|
| 2 |
import streamlit as st
|
| 3 |
-
from utils import add_navigation
|
| 4 |
|
| 5 |
ALL_FEATURES = [
|
| 6 |
("Liquid Assets", "Liquid Assets", None),
|
|
@@ -17,6 +17,13 @@ ALL_FEATURES = [
|
|
| 17 |
|
| 18 |
def render():
|
| 19 |
add_navigation("txt_information_loss", "txt_rashomon_effect")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
st.markdown(
|
| 22 |
"""
|
|
@@ -31,18 +38,6 @@ def render():
|
|
| 31 |
""",
|
| 32 |
unsafe_allow_html=True,
|
| 33 |
)
|
| 34 |
-
|
| 35 |
-
st.markdown(
|
| 36 |
-
"""
|
| 37 |
-
<div style='text-align: center; font-size:18px; color:gray;'>
|
| 38 |
-
Consider the automation of loan approval using AI models. <br>
|
| 39 |
-
Choose the features below that you would like to collect to train your AI model. <br>
|
| 40 |
-
</div>
|
| 41 |
-
""",
|
| 42 |
-
unsafe_allow_html=True
|
| 43 |
-
)
|
| 44 |
-
|
| 45 |
-
st.markdown("---")
|
| 46 |
|
| 47 |
# Session state init
|
| 48 |
# if "available_features" not in st.session_state:
|
|
|
|
| 1 |
import pandas as pd
|
| 2 |
import streamlit as st
|
| 3 |
+
from utils import add_navigation, add_instruction_text
|
| 4 |
|
| 5 |
ALL_FEATURES = [
|
| 6 |
("Liquid Assets", "Liquid Assets", None),
|
|
|
|
| 17 |
|
| 18 |
def render():
|
| 19 |
add_navigation("txt_information_loss", "txt_rashomon_effect")
|
| 20 |
+
|
| 21 |
+
add_instruction_text(
|
| 22 |
+
"""
|
| 23 |
+
Consider the automation of loan approval using AI models. <br>
|
| 24 |
+
Select the features below that you would like to collect to train your AI model.
|
| 25 |
+
"""
|
| 26 |
+
)
|
| 27 |
|
| 28 |
st.markdown(
|
| 29 |
"""
|
|
|
|
| 38 |
""",
|
| 39 |
unsafe_allow_html=True,
|
| 40 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
# Session state init
|
| 43 |
# if "available_features" not in st.session_state:
|