Update pages/3_Life Cycle Of ML Project.py
Browse files
pages/3_Life Cycle Of ML Project.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
#
|
| 4 |
if 'page' not in st.session_state:
|
| 5 |
st.session_state.page = "home" # Default page is "home"
|
| 6 |
|
|
@@ -9,11 +9,10 @@ if st.session_state.page == "home":
|
|
| 9 |
st.title(":red[Lifecycle of a Machine Learning Project]")
|
| 10 |
st.markdown("Click on a stage to learn more about it.")
|
| 11 |
|
| 12 |
-
|
| 13 |
if st.button(":blue[π Data Collection]"):
|
| 14 |
st.session_state.page = "data_collection" # Redirect to 'data_collection' page
|
| 15 |
|
| 16 |
-
# Buttons for other stages (No redirection for these)
|
| 17 |
if st.button(":blue[π Problem Statement]"):
|
| 18 |
st.markdown("### Problem Statement\nIdentify the problem you want to solve and set clear objectives and success criteria.")
|
| 19 |
if st.button(":blue[π οΈ Simple EDA]"):
|
|
@@ -35,9 +34,11 @@ if st.session_state.page == "home":
|
|
| 35 |
|
| 36 |
# Data Collection Page (Triggered when "Data Collection" is clicked)
|
| 37 |
elif st.session_state.page == "data_collection":
|
| 38 |
-
st.title(":red[Data
|
| 39 |
-
st.markdown("### Data
|
| 40 |
-
|
|
|
|
|
|
|
| 41 |
|
| 42 |
# Button for Structured Data
|
| 43 |
if st.button(":blue[π Structured Data]"):
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
# page navigation
|
| 4 |
if 'page' not in st.session_state:
|
| 5 |
st.session_state.page = "home" # Default page is "home"
|
| 6 |
|
|
|
|
| 9 |
st.title(":red[Lifecycle of a Machine Learning Project]")
|
| 10 |
st.markdown("Click on a stage to learn more about it.")
|
| 11 |
|
| 12 |
+
|
| 13 |
if st.button(":blue[π Data Collection]"):
|
| 14 |
st.session_state.page = "data_collection" # Redirect to 'data_collection' page
|
| 15 |
|
|
|
|
| 16 |
if st.button(":blue[π Problem Statement]"):
|
| 17 |
st.markdown("### Problem Statement\nIdentify the problem you want to solve and set clear objectives and success criteria.")
|
| 18 |
if st.button(":blue[π οΈ Simple EDA]"):
|
|
|
|
| 34 |
|
| 35 |
# Data Collection Page (Triggered when "Data Collection" is clicked)
|
| 36 |
elif st.session_state.page == "data_collection":
|
| 37 |
+
st.title(":red[What is Data?]")
|
| 38 |
+
st.markdown("### 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.
|
| 39 |
+
|
| 40 |
+
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.")
|
| 41 |
+
st.markdown(":red[Types of Data]: Data is divided into Three Types. - Structured, - Unstructured, - Semi-Structured")
|
| 42 |
|
| 43 |
# Button for Structured Data
|
| 44 |
if st.button(":blue[π Structured Data]"):
|