LakshmiHarika commited on
Commit
4becf82
·
verified ·
1 Parent(s): e7fa45f

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -42,4 +42,56 @@ st.markdown(
42
 
43
  st.markdown("""
44
  <div style="text-align: center; margin-top: 20px;">
45
- <h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  st.markdown("""
44
  <div style="text-align: center; margin-top: 20px;">
45
+ <h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
46
+
47
+
48
+
49
+ if st.button("Step 1: Problem Definition"):
50
+ st.experimental_set_query_params(page="problem_definition")
51
+
52
+ if st.button("Step 2: Data Collection"):
53
+ st.experimental_set_query_params(page="data_collection")
54
+
55
+ if st.button("Step 3: Data Preparation"):
56
+ st.experimental_set_query_params(page="data_preparation")
57
+
58
+ if st.button("Step 4: Model Building"):
59
+ st.experimental_set_query_params(page="model_building")
60
+
61
+ if st.button("Step 5: Model Evaluation"):
62
+ st.experimental_set_query_params(page="model_evaluation")
63
+
64
+ if st.button("Step 6: Model Deployment"):
65
+ st.experimental_set_query_params(page="model_deployment")
66
+
67
+ if st.button("Step 7: Monitoring and Maintenance"):
68
+ st.experimental_set_query_params(page="monitoring")
69
+
70
+ # Check for the current query parameter and redirect to the relevant page
71
+ query_params = st.experimental_get_query_params()
72
+ page = query_params.get("page", [""])[0]
73
+
74
+ # Display corresponding content
75
+ if page == "problem_definition":
76
+ st.subheader("Step 1: Problem Definition")
77
+ st.write("Content for Problem Definition goes here...")
78
+ elif page == "data_collection":
79
+ st.subheader("Step 2: Data Collection")
80
+ st.write("Content for Data Collection goes here...")
81
+ elif page == "data_preparation":
82
+ st.subheader("Step 3: Data Preparation")
83
+ st.write("Content for Data Preparation goes here...")
84
+ elif page == "model_building":
85
+ st.subheader("Step 4: Model Building")
86
+ st.write("Content for Model Building goes here...")
87
+ elif page == "model_evaluation":
88
+ st.subheader("Step 5: Model Evaluation")
89
+ st.write("Content for Model Evaluation goes here...")
90
+ elif page == "model_deployment":
91
+ st.subheader("Step 6: Model Deployment")
92
+ st.write("Content for Model Deployment goes here...")
93
+ elif page == "monitoring":
94
+ st.subheader("Step 7: Monitoring and Maintenance")
95
+ st.write("Content for Monitoring and Maintenance goes here...")
96
+ else:
97
+ st.write("Click on a step to view its details.")