Update pages/3_Life Cycle Of ML Project.py
Browse files
pages/3_Life Cycle Of ML Project.py
CHANGED
|
@@ -1,15 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
# Inject custom CSS to style the buttons
|
| 4 |
-
st.markdown("""
|
| 5 |
-
<style>
|
| 6 |
-
.stButton>button {
|
| 7 |
-
|
| 8 |
-
color: white;
|
| 9 |
-
width: 100%;
|
| 10 |
-
}
|
| 11 |
-
</style>
|
| 12 |
-
""", unsafe_allow_html=True)
|
| 13 |
|
| 14 |
# Initialize page navigation state
|
| 15 |
if 'page' not in st.session_state:
|
|
@@ -53,8 +43,11 @@ if st.session_state.page == "home":
|
|
| 53 |
|
| 54 |
# ----------------- Data Collection Page -----------------
|
| 55 |
elif st.session_state.page == "data_collection":
|
| 56 |
-
st.title(":red[Data
|
| 57 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
| 58 |
st.markdown("Types of Data: **Structured**, **Unstructured**, **Semi-Structured**")
|
| 59 |
|
| 60 |
if st.button(":blue[π Structured Data]"):
|
|
@@ -77,7 +70,7 @@ elif st.session_state.page == "structured_data":
|
|
| 77 |
""")
|
| 78 |
st.markdown("### Examples: Excel files, CSV files")
|
| 79 |
|
| 80 |
-
if st.button(":
|
| 81 |
st.session_state.page = "excel"
|
| 82 |
|
| 83 |
if st.button("Back to Data Collection"):
|
|
@@ -311,5 +304,5 @@ print(root.find('name').text) # Output: Bob
|
|
| 311 |
""")
|
| 312 |
|
| 313 |
# Back to Data Collection
|
| 314 |
-
if st.button("Back to Data Collection"):
|
| 315 |
st.session_state.page = "data_collection" # Corrected line: Removing raise errors
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Initialize page navigation state
|
| 5 |
if 'page' not in st.session_state:
|
|
|
|
| 43 |
|
| 44 |
# ----------------- Data Collection Page -----------------
|
| 45 |
elif st.session_state.page == "data_collection":
|
| 46 |
+
st.title(":red[What is Data?]")
|
| 47 |
+
st.markdown("""
|
| 48 |
+
### What is Data?\nData is a collection of raw information from various sources. On its own, it may not carry any immediate meaning, but when processed and analyzed, it can be used to derive insights, make decisions, and support the development of systems across various fields, such as business, science, engineering, and more.
|
| 49 |
+
In the context of Machine Learning (ML), data plays an even more pivotal role. It serves as the input for algorithms, enabling them to learn, predict, and classify based on patterns found in the data. Without data, there is nothing for the ML model to learn from, and consequently, the model cannot make any predictions or inferences.
|
| 50 |
+
""")
|
| 51 |
st.markdown("Types of Data: **Structured**, **Unstructured**, **Semi-Structured**")
|
| 52 |
|
| 53 |
if st.button(":blue[π Structured Data]"):
|
|
|
|
| 70 |
""")
|
| 71 |
st.markdown("### Examples: Excel files, CSV files")
|
| 72 |
|
| 73 |
+
if st.button(":blue[π Excel]"):
|
| 74 |
st.session_state.page = "excel"
|
| 75 |
|
| 76 |
if st.button("Back to Data Collection"):
|
|
|
|
| 304 |
""")
|
| 305 |
|
| 306 |
# Back to Data Collection
|
| 307 |
+
if st.button(":red[Back to Data Collection]"):
|
| 308 |
st.session_state.page = "data_collection" # Corrected line: Removing raise errors
|