Harika22 commited on
Commit
276576d
·
verified ·
1 Parent(s): 6e56f16

Update pages/Life cycle of ML.py

Browse files
Files changed (1) hide show
  1. pages/Life cycle of ML.py +16 -3
pages/Life cycle of ML.py CHANGED
@@ -59,6 +59,21 @@ def add_custom_css():
59
  }
60
  </style>
61
  """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  def home_page():
64
  st.title("🚀 Machine Learning Lifecycle")
@@ -88,9 +103,7 @@ def home_page():
88
 
89
  def problem_statement_page():
90
  st.title("📌 Problem Statement")
91
- st.write("""A problem statement in a Machine Learning project defines the specific issue you aim to solve using data and algorithms.
92
- It outlines the objective and actinga as a guiding blue-print.
93
- It acts like a clear plan to guide the project in the right direction. """)
94
  st.markdown('<div class="back-btn" onclick="location.href=\'#\'">⬅️ Back to Home</div>', unsafe_allow_html=True)
95
  if st.button("⬅️ Back to Home"):
96
  navigate_to("home")
 
59
  }
60
  </style>
61
  """, unsafe_allow_html=True)
62
+
63
+ # Create a Graphviz graph with circular layout
64
+ graph = Digraph()
65
+
66
+ graph.edges([
67
+ ("Problem Statement", "Data Collection"),
68
+ ("Data Collection", "Simple EDA"),
69
+ ("Simple EDA", "Data Pre-Processing"),
70
+ ("Data Pre-Processing", "EDA"),
71
+ ("EDA", "Feature Engineering"),
72
+ ("Feature Engineering", "Model Training"),
73
+ ("Model Training", "Testing"),
74
+ ("Testing", "Deployement and maintenance"),
75
+ ])
76
+ st.graphviz_chart(graph)
77
 
78
  def home_page():
79
  st.title("🚀 Machine Learning Lifecycle")
 
103
 
104
  def problem_statement_page():
105
  st.title("📌 Problem Statement")
106
+ st.write()
 
 
107
  st.markdown('<div class="back-btn" onclick="location.href=\'#\'">⬅️ Back to Home</div>', unsafe_allow_html=True)
108
  if st.button("⬅️ Back to Home"):
109
  navigate_to("home")