sree4411 commited on
Commit
c68ee8f
Β·
verified Β·
1 Parent(s): 95942ea

Update pages/3_Life Cycle Of ML Project.py

Browse files
Files changed (1) hide show
  1. pages/3_Life Cycle Of ML Project.py +7 -14
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 Collection]")
57
- st.markdown("### Data Collection\nThis page discusses the process of Data Collection.")
 
 
 
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(":green[πŸ“Š Excel]"):
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